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>(a)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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185255#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...