Package org.constretto.spring

Classes that provides support for environment aware property files.

See:
          Description

Class Summary
ConfigurationAnnotationConfigurer BeanPostProcessor implementation that autowires annotated fields annotated with the @Configuration or @Environment annotations.
ConstrettoConfigurationFactoryBean  
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.

ConstrettoSingletonFactoryBean A factory bean used to instantiate spring beans depending on the environment you are running in.
EnvironmentAnnotationConfigurer A BeanFactoryBeanFactoryPostProcessor implementation that will if registered as a bean in a spring context, enable the constretto autowiring capabilities in the container.
 

Package org.constretto.spring Description

Classes that provides support for environment aware property files.



Copyright © 2008-2012. All Rights Reserved.