[jboss-dev-forums] [JBoss Microcontainer Development] New message: "Re: Optimizing aop lifecycle"

Kabir Khan noreply at jboss.org
Wed Jan 6 13:42:02 EST 2010


JBoss development,

A new message was posted in the thread "Optimizing aop lifecycle":

http://community.jboss.org/message/518600#518600

Author  : Kabir Khan
Profile : http://community.jboss.org/people/kabir.khan@jboss.com

Message:
--------------------------------------------------------------
This has been done.
 
For the record, once we add this to AS we need to add the in/uncallbacks to BeanAnnotationAdapter in the bootstrap as shown here (Ales's suggestion worked):
 
   <bean name="BeanAnnotationAdapterFactory" class="org.jboss.kernel.plugins.annotations.BeanAnnotationAdapterFactory">
      <constructor factoryMethod="getInstance"/>
   </bean>



   <bean name="BeanAnnotationAdapter">
      <constructor factoryMethod="getBeanAnnotationAdapter">
         <factory bean="BeanAnnotationAdapterFactory"/>
      </constructor>
      <incallback method="addAnnotationPlugin"/>
      <uncallback method="removeAnnotationPlugin"/>
   </bean>
 


--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/518600#518600




More information about the jboss-dev-forums mailing list