在我的jboss-aop.xml文件,如果我使用標記正常簽名切入點,就像這樣:Maven Jboss AOP插件 - 任何人都有成功的註解標記切入點?
<bind pointcut="execution(public void org.POJO->noop())">
<Interceptor class="org.SimpleInterceptor"/>
</bind>
方面編譯沒有問題,但如果我使用註釋,這樣
<bind pointcut="execution(void *->@org.Trace(..))">
<interceptor class="org.SimpleInterceptor"/>
</bind>
然後沒有aop編譯 - 沒有錯誤,但切入點不編譯。 因此 - 任何人都知道,如果Maven的jboss aop插件應該能夠編譯註釋標記的切入點?