Hi all,
I am trying to intercept a call to a stateless session bean under jboss dr4 but it 
don't work.

I describe my environment:

* Simple.jar
    Simple.class
   SimpleHome.class
   SimpleLocal.home
   SimpleLocalHome.class
   LoggingInterceptor.class
   META-INF
     jboss.xml
     ejb-jar.xml
     jboss-aop.xml

jboss-aop.xml

?xml version="1.0" encoding="UTF-8"?
aop
  interceptor name="LoggingInterceptor" class="LoggingInterceptor"/
        bind pointcut="execution(* com.idecnet.wsr.SimpleEJB->*(..))"
           interceptor-ref name="LoggingInterceptor"/
        /bind
/aop


LoggingInterceptor.java

  public class LoggingInterceptor implements Interceptor {
    public String getName() {
      return LoggingInterceptor.class.getName();
    }
    public Object invoke(Invocation invocation) throws Throwable {
      System.out.println("FromAOP");
      return null;
    }
  }


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

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


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to