cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: How to substitute the placeholders in the config files ?
Date Wed, 26 Dec 2007 09:46:28 GMT
Hi Alex ,

Here is an example for your replace the ${} palceholders in the spring 
configuration file.
Code :
[1]https://svn.apache.org/repos/asf/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java
Configuration file :
[2]https://svn.apache.org/repos/asf/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http_jetty/jetty-engine.xml

Willem.

Alex Shneyderman wrote:
> I have a cxf.xml that contains a section like this :
>
>             <sec:trustManagers>
>                 <sec:keyStore type="${securitystore.type}"
>                               password="${securitystore.password}"
>                               file="${securitystore.file}" />
>             </sec:trustManagers>
>
> how do I substitute all those ${} placeholders ?
>
> I tried to use PropertyPlaceholderConfigurer that of course did not work.
>
> Any ideas ?
>
>   


Mime
View raw message