|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
BeanPostProcessor implementation that autowires annotated fields annotated with the @Configuration or
@Environment annotations.PropertyPlaceholderConfigurer class, using an implementation of the
ConstrettoConfiguration interface to resolve keys
Example :
<bean class="org.constretto.spring.ConstrettoPropertyPlaceholderConfigurer">
<constructor-arg ref="someProvider" />
</bean>
<bean id="myBean" class="com.example.MyClass">
<property name="myProperty" value="${propertyKey}" />
</bean>
Note : The provider property of the placeholder configurer are marked as @Autowired, and can be autowired in a
annotation config application context.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||