Marco Battaglia [https://community.jboss.org/people/Marco.Battaglia] created 
the discussion

"Re: How to manage instrumentation in application deployed on JBoss?"

To view the discussion, visit: https://community.jboss.org/message/760464#760464

--------------------------------------------------------------
Hi Alessandro,
you have to use a classloader to instrument classes.
 If you use an agent on your jboss process you can control the main classloader 
and then every class loaded  by jboss.
You can call transform method in preMain method of your agent.

If you want to monitor classes and method and also add actions you can use 
byteman. It helps you to registering and unregistering rules (instrumentations) 
dynamically to your classes.

Ciao
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/760464#760464]

Start a new discussion in Javassist at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2062]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to