[jboss-dev-forums] [Design the new POJO MicroContainer] - Merged ClassInfo annotation view?
scott.stark@jboss.org
do-not-reply at jboss.com
Tue Oct 28 20:33:49 EDT 2008
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185255#4185255
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185255
More information about the jboss-dev-forums
mailing list