1 2 Previous Next 18 Replies Latest reply on Oct 31, 2008 9:47 AM by starksm64

    Merged ClassInfo annotation view?

    starksm64

      Right now the default ManagedObjectFactory implementation looks to the class for the management annotations using the org.jboss.beans.info.spi.BeanInfo/ClassInfo spis. Do we have framework to augment the ClassInfo with annotation information from other sources, such as mc BeanMetaData?

      We need to be able to have annotation information described in the deployment, such as:

       <bean name="JNDIBasedSecurityRegistration"
       class="org.jboss.security.integration.JNDIBasedSecurityRegistration">
       <annotation>@org.jboss.managed.api.annotation.ManagementObject(name="JNDIBasedSecurityRegistration",
       componentType=@ManagementComponent(type="MCBean", subtype="Security"))</annotation>
       <property name="policyRegistration"><inject bean="JBossSecurityPolicyRegistration" /></property>
       <property name="securityManagement"><inject bean="JNDIBasedSecurityManagement" /></property>
       </bean>
      


      show up in the ClassInfo, or change the management apis to accept a BeanInfo/ClassInfo so this information can be added via layers closer to the component deployers.


        1 2 Previous Next