org.constretto.spring
Class EnvironmentAnnotationConfigurer
java.lang.Object
org.constretto.spring.EnvironmentAnnotationConfigurer
- All Implemented Interfaces:
- BeanFactoryPostProcessor
public class EnvironmentAnnotationConfigurer
- extends Object
- implements BeanFactoryPostProcessor
A BeanFactoryBeanFactoryPostProcessor implementation that will if registered as a bean in a spring context, enable
the constretto autowiring capabilities in the container.
May be used on any existing configurations and in combination with all the standard context implementations from the
Spring framework.
- Author:
- Kaare Nilsen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INCLUDE_IN_COLLECTIONS
public static final String INCLUDE_IN_COLLECTIONS
- See Also:
- Constant Field Values
EnvironmentAnnotationConfigurer
public EnvironmentAnnotationConfigurer(AssemblyContextResolver assemblyContextResolver)
postProcessBeanFactory
public void postProcessBeanFactory(ConfigurableListableBeanFactory configurableListableBeanFactory)
throws BeansException
- Specified by:
postProcessBeanFactory in interface BeanFactoryPostProcessor
- Throws:
BeansException
findEnvironmentAnnotation
public static Environment findEnvironmentAnnotation(Class beanClass)
findEnvironmentMetaAnnotation
public static Environment findEnvironmentMetaAnnotation(Set<Annotation> visited,
Annotation[] annotations)
Copyright © 2008-2012. All Rights Reserved.