[ 
https://issues.apache.org/jira/browse/ARIES-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved ARIES-462.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Guillaume Nodet

The whole placeholder processing is done on the metadata and only with values, 
i.e. things that can be specified using a value="" attribute.
Modifying other pieces would require a full rewrite of the placeholders (if 
possible).
                
> 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
>            Assignee: Guillaume Nodet
>            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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to