Implement usage of BeanMetaData abstract and parent attributes
--------------------------------------------------------------
Key: JBMICROCONT-384
URL:
https://jira.jboss.org/jira/browse/JBMICROCONT-384
Project: JBoss Microcontainer
Issue Type: Feature Request
Components: Deployment
Reporter: Ales Justin
Priority: Minor
Make use of BeanMetaData::abstract and BeanMetaData::parent.
It is currently not used, as it doesn't have proper handling.
The idea is to cover this examples:
simple skeleton:
<bean name="skeleton" class="org.jboss.acme.AbstractService"
abstract="true">
<property name="kernel"></inject
bean="KernelName"></property>
<property name="tm"></inject
bean="TM"></property>
... // many properties
</bean>
classes derived from skeleton:
<bean name="x1" class="org.jboss.acme.X1"
parent="skeleton"/>
<bean name="x2" class="org.jboss.acme.X2"
parent="skeleton"/>
<bean name="y" class="org.jboss.acme.AbstractY"
parent="x1" abstract="true" />
<bean name="z" class="org.jboss.acme.Z" parent="y"/>
== less xml dupliction
Beans with abstract==true don't really get instantiated,
they just serve as metadata holder.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira