I want to pass the value in the value tag of the property dynamically from the DB. Is this possible in Spring? And how ?
For example in the configuration below.
<bean id="proxyFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
<property name="serviceClass" value="WSDLURL"/>
<property name="address" value="WSDLURL"/>
<property name="username" value="username"/>
<property name="password" value="password"/>
</bean>
I want the properties mentioned above for the bean with id "proxyFactory"
, i.e. <WSDLURL>
and <username>
and <password>
to be taken from the DB and passed here dynamically.