Hello,
thank you for the reply,

I tried instanceof and typedef(Base.class) with no success. (what is the best 
setup (jboss-aop.xml) whould you recommend for the following scenario)

here the set up:

    public class Base { 
            protected void method1() {} 
     } 

      public class Concrete extends Base { 

               public void myMethod() { 
                           method1(); 
                } 
       }

       public MyAspect {
                  
           public Object auditMethod (MethodCalledByMethodInvocation 
invocation) throws Throwable {
                       //do some loogging
                    
                     return invocation.invokeNext();
            }
         }


         so when "method1" is being called from the Concrete.class I get inside 
of the "auditMethod" in MyAspect.class and then when it calls invokeNext() I 
expect to be in the "method1" of the Base.class instead I get 
IllegalAccessError exception.


                Thank you, Michael


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

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


-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to