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

Kabir Khan noreply at jboss.org
Wed Jan 6 06:28:32 EST 2010


JBoss development,

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

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

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

Message:
--------------------------------------------------------------
So you mean something along the lines of
 
   <bean name="BeanAnnotationAdapterFactory" class="org.jboss.kernel.plugins.annotations.BeanAnnotationAdapterFactory">
      <constructor factoryMethod="getInstance"/>
   </bean>

   <bean name="BeanAnnotationAdapter" class="org.jboss.kernel.plugins.annotations.CommonAnnotationAdapter">
      <constructor factoryMethod="getBeanAnnotationAdapter">
         <factory bean="BeanAnnotationAdapterFactory"/>
      </constructor>
      <incallback method="addAnnotationPlugin"/>
      <uncallback method="removeAnnotationPlugin"/>
   </bean>
 

 
Now, what if (although probably unlikely) someone defines -Dorg.jboss.kernel.plugins.annotations.BeanAnnotationAdapter=some.class.without.these.Methods?

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

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




More information about the jboss-dev-forums mailing list