You must explicitly load the class file you newly defined and create an instance of that by the reflection API (java.lang.reflect).
The latest version of Javassist, which you can download from CVS HEAD, provides a very convenient method toClass() for doing that. Please try. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846591#3846591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846591 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user