Support for nested properties
-----------------------------
Key: JBMICROCONT-220
URL:
http://jira.jboss.com/jira/browse/JBMICROCONT-220
Project: JBoss MicroContainer
Issue Type: Feature Request
Environment: N/A
Reporter: Trustin Lee
Priority: Minor
Support for nested properties make beans XML more concise and easy to understand.
Before:
<bean name="beanX" ...>
...
</bean>
<bean name="propA" ...>
<constructor><factory bean="beanX"
method="getPropA"/></constructor>
<property name="propB">...</property>
</bean>
<bean name="beanY" ...>
<property name="propC"><inject bean="propA"
property="propB"/></property>
</bean>
After:
<bean name="beanX" ...>
<property name="propA.propB">...</property>
</bean>
<bean name="beanY" ...>
<!-- Ales's suggestion: is this supported now? -->
<property name="propC"><inject bean="beanX"
property="propA.propB"/></property>
<!-- Spring style: not sure if this is better or not, but it's somewhat finger
friendly :) -->
<property name="propC ref="beanX.propA.propB"/>
</bean>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira