Menu

#99 Support aopc for deployed applications (off/online weave)

open
nobody
7
2005-06-23
2005-06-22
Neil Avery
No

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

Discussion

  • Neil Avery

    Neil Avery - 2005-06-23

    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

     
  • Neil Avery

    Neil Avery - 2005-06-23
    • summary: Support offline aopc for deployed applications. --> Support aopc for deployed applications (off/online weave)
     

Log in to post a comment.