Allow cm:property-placeholder substitution within bean attributes
-----------------------------------------------------------------
Key: ARIES-462
URL: https://issues.apache.org/jira/browse/ARIES-462
Project: Aries
Issue Type: Improvement
Components: Blueprint
Affects Versions: 0.3
Reporter: Craig Muchinsky
Priority: Minor
To allow a user to swap out a bean implementation via configuration, it would
be nice if cm:property-placeholder substitution worked within bean attributes
(specifically 'class' but I suppose a case could be made for other fields as
well). For example:
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0">
<cm:property-placeholder persistent-id="foo">
<cm:default-properties>
<cm:property name="foo.classname" value="com.foo.DefaultFoo"/>
</cm:default-properties>
</cm:property-placeholder>
<bean id="foo" class="${foo.classname}"/>
</blueprint>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.