| Package | Description |
|---|---|
| org.constretto.spring.javaconfig |
| Class and Description |
|---|
ConfigurationAnnotationConfigurer
BeanPostProcessor implementation that autowires annotated fields annotated with the @Configuration or
@Environment annotations. |
| ConstrettoPropertyPlaceholderConfigurer
An adaption of the spring framework
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. |
Copyright © 2008–2015. All rights reserved.