This content has been marked as final.
Show 3 replies
-
1. How can I intercept methods in java.net.* or javax.*.*?
kabirkhan May 12, 2011 1:32 PM (in response to m.azarmi)There is no way using JBoss AOP. Once you start changing classes used by JBoss AOP itself at runtime (since everything is dynamic) you could end up with some very strange and unpredicatable behaviour :-)
-
2. How can I intercept methods in java.net.* or javax.*.*?
m.azarmi May 12, 2011 1:37 PM (in response to kabirkhan)O.K, thanks for your quick reply!
Mehdi
-
3. How can I intercept methods in java.net.* or javax.*.*?
spennec May 23, 2011 2:39 AM (in response to m.azarmi)Hi,
Is it also impossible to intercept methods of subclasses of classes in javax.*? For example, I'm trying to intercept the onMessage() method of each implementation of javax.jms.MessageListener.
I'm currently running into a NPE while doing that, see http://community.jboss.org/thread/166947?tstart=0
Regards,
Sébastien