Support aopc for deployed applications (off/online weave)
Brought to you by:
neil_g_avery
This would allow them to weave their own
aspects...unless the forums come back with news otherwise.
see
http://docs.jboss.com/aop/1.1/aspect-framework/reference/en/html/compiling.html#ant
Logged In: YES
user_id=922728
jboss-app-server uses an AspectManagerService and a
AspectDeployer Service to deploy jboss-aops.
http://docs.jboss.org/jbossas/jboss4guide/r3/html/pr05.html#aop
<server>
<mbean code="org.jboss.aop.deployment.AspectManagerService"
name="jboss.aop:service=AspectManager">
<attribute name="EnableTransformer">false</attribute>
<!-- only relevant when Enabletransformer is true.
When transformer is on, every loaded class gets
transformed. If AOP can't find the class, then it
throws an exception. Sometimes, classes may not
have
all the classes they reference. So, the Suppressing
is needed. (i.e. Jboss cache in the default
configuration -->
<attribute
name="SuppressTransformationErrors">true</attribute>
<attribute name="Optimized">true</attribute>
<attribute name="Verbose">false</attribute>
</mbean>
<mbean code="org.jboss.aop.deployment.AspectDeployer"
name="jboss.aop:service=AspectDeployer">
</mbean>
</server>
aspectwerkz provide hotdeploy as mentioned at,
http://aspectwerkz.codehaus.org/dynamic_aop.html#Hot_deployment