我试图在两种不同路径中的两种不同方法上应用@a方面
class Service1{ public Object applyX(X x){ //code class Service2{ public OtherObject applyY(Y y){ //code }
我有我的方面课:
@Aspect @Component public class MyProcessor { @Before("execution(* com.a.b.c.Service1.applyX" + " (com.xp.X)) " + "&& args(engineEvaluationRequest) || " + "execution(* com.a.b.d.Service2.applyY"