[jboss-dev-forums] [Design of POJO Server] - Re: Annotation for MC bean

anil.saldhana@jboss.com do-not-reply at jboss.com
Thu Apr 2 10:33:06 EDT 2009


Galder, did you add the lifecycle declaration to any of the xml configuration files?  

Something like I am doing (not yet checked in):


  | <deployment xmlns="urn:jboss:bean-deployer:2.0">
  | 
  |    <!-- Support for @Password -->
  |    <lifecycle-configure xmlns="urn:jboss:aop-beans:1.0"
  |         name="PasswordRegistrationAdvice"
  |         class="org.jboss.security.integration.password.PasswordLifecycleCallback"
  |         classes="@org.jboss.security.integration.password.Password"
  |         manager-bean="AspectManager"
  |         manager-property="aspectManager">
  |    </lifecycle-configure>
  | 
  |   <lifecycle-create xmlns="urn:jboss:aop-beans:1.0"
  |         name="PasswordCreateDestroyAdvice"
  |         class="org.jboss.security.integration.password.PasswordLifecycleCallback"
  |         classes="@org.jboss.security.integration.password.Password"
  |         manager-bean="AspectManager"
  |         manager-property="aspectManager">
  |   </lifecycle-create>
  | 
  |   <lifecycle-install xmlns="urn:jboss:aop-beans:1.0"
  |        name="PasswordStartStopAdvice"
  |      class="org.jboss.security.integration.password.PasswordLifecycleCallback"
  |        classes="@org.jboss.security.integration.password.Password"
  |        manager-bean="AspectManager"
  |        manager-property="aspectManager">
  |    </lifecycle-install>
  | 
  | 
  | 

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

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



More information about the jboss-dev-forums mailing list