Hello,

I'd like to intercept a call to ParserInterface->call inside 
PropostaBusinessComponent->consultarProposta(..). PropostaBusinessComponent is 
a SessionBean, so I tried this code:

<cflow-stack name="parse">              
  |   <called expr="* PropostaBusinessComponent->consultarProposta(..)" />
  | </cflow-stack>  
  | 
  | <bind pointcut="execution(* ParserInterface->call(..))"  cflow="parse">
  |   <advice name="trace" AspectoTeste" />
  | </bind>

The code is not intercepted, but if I use the code below, everything works fine:

<bind
  |    pointcut="execution(* PropostaBusinessComponent->consultarProposta(..))">
  |   <advice name="trace" aspect="AspectoTeste" />
  | </bind>

Is not possibe to intercept EJB calls? (only executions?)

Any sugestions?

Thanks,

André



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950948#3950948

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950948


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to