[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Woven class compatibility

kabir.khan@jboss.com do-not-reply at jboss.com
Wed Apr 18 15:49:48 EDT 2007


I am in the process of optimizing the AOP 2.0 weaving model, and now is as good time as any to point out that the woven code in the next AOP 2.0 release will be **completely incompatible** with the woven code from the previous releases.

Note that this only applies to the new AOP 2.0 weaving (generated advisor), and not to the 1.5.x woven code unless you used the following when aopc'ing with AOP 1.5.x:


  |       <aopc ...>
  |          ...
  |          <sysproperty key="jboss.aop.instrumentor" value="org.jboss.aop.instrument.GeneratedAdvisorInstrumentor"/>
  |       </aopc>
  | 

The default weaving mode for 1.5.x is ClassicInstrumentor and the default for 2.0 is GeneratedAdvisorInstrumentor. 1.5.5 woven with the default ClassicInstrumentor remains runnable on AOP 2.0

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

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



More information about the jboss-dev-forums mailing list