org.constretto.spring
Class EnvironmentAnnotationConfigurer
java.lang.Object
org.constretto.spring.EnvironmentAnnotationConfigurer
- All Implemented Interfaces:
- BeanFactoryPostProcessor
public class EnvironmentAnnotationConfigurer
- extends java.lang.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 java.lang.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(java.lang.Class beanClass)
findEnvironmentMetaAnnotation
public static Environment findEnvironmentMetaAnnotation(java.util.Set<java.lang.annotation.Annotation> visited,
java.lang.annotation.Annotation[] annotations)
Copyright © 2008-2011. All Rights Reserved.