[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: name of the class intercepted

2004-08-02 Thread kabkhan
Invocation.getTargetObject().getClass().getName() View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843938#3843938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843938 -

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: name of the class intercepted

2004-08-05 Thread Bill Burke
Better would be: | ((ClassAdvisor)invocation.getAdvisor()).getClazz(); | This is because getTargetObject may be null for static members. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844304#3844304 Reply to the post : http://www.jboss.org/index.html?