[jboss-user] [JBoss AOP] - Re: Problem with hot deployment and ClassLoader functionalit

kabir.khan@jboss.com do-not-reply at jboss.com
Wed Sep 20 09:41:12 EDT 2006


For it to be possible to attach aspects to a particular method/field, you need to "prepare" those joinpoints as you mention. In effect this means weaving of the class, and this can only take place at compile-time (aopc) or when the class is first loaded (using the classloader hooks). Once the class has been loaded it cannot be modified further.

http://labs.jboss.com/portal/jbossaop/docs/1.5.0.GA/docs/aspect-framework/reference/en/html/running.html
shows how to set up the classloaders for loadtime weaving in and out of jboss.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972931#3972931

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972931



More information about the jboss-user mailing list