[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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[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?module=bb&op=posting&mode=reply&p=3844304


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development