首页 > 试题广场 >

在Spring AOP中,若需定义切点匹配com.examp

[单选题]
在Spring AOP中,若需定义切点匹配com.example.service包及其子包下所有类的public返回值为String、且第一个参数为Long类型、后续参数为任意类型的方法,以下execution表达式正确的是?
  • execution(public String com.example.service.*.*(Long, *))
  • execution(public String com.example.service..*.*(Long, ..))
  • execution(String com.example.service..*.*(Long, ..))
  • execution(public String com.example.service.*.*(Long, ..))
发表于 2025-11-05 16:52:13 回复(0)