Jean,
You may use ext:property-placeholder with default properties reference. This 
default-properties-ref instance could be created by factory method executed on 
some service.

Cheers!
Łukasz Dywicki
--
[email protected]
Twitter: ldywicki
Blog: http://dywicki.pl
Code-House - http://code-house.org

Wiadomość napisana przez CLEMENT Jean-Philippe 
<[email protected]> w dniu 3 wrz 2013, o godz. 17:07:

> Hi,
>  
> I would like to replace Blueprint string values, for instance in:
>             <bean id=”sample” class=”test.TestClass”>
>                         <argument value=”$(to.replace)” />
>             </bean>
>  
> Where $(to.replace) would be substituted by the correct value taken from a 
> java service and not directly from a file.
>  
> What would be the simplest way to do so? Is there a way to map a placeholder 
> to a bean?
>  
> Best regards,
> Jean-Philippe
>  
> [@@ OPEN @@]

Reply via email to