Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » factory » annotation » [javadoc | source]
org.springframework.beans.factory.annotation
public class: CustomAutowireConfigurer [javadoc | source]
java.lang.Object
   org.springframework.beans.factory.annotation.CustomAutowireConfigurer

All Implemented Interfaces:
    Ordered, BeanFactoryPostProcessor, BeanClassLoaderAware

A org.springframework.beans.factory.config.BeanFactoryPostProcessor implementation that allows for convenient registration of custom autowire qualifier types.
<bean id="customAutowireConfigurer" class="org.springframework.beans.factory.annotation.CustomAutowireConfigurer">
<property name="customQualifierTypes">
<set>
<value>mypackage.MyQualifier</value>
</set>
</property>
</bean>
Method from org.springframework.beans.factory.annotation.CustomAutowireConfigurer Summary:
getOrder,   postProcessBeanFactory,   setBeanClassLoader,   setCustomQualifierTypes,   setOrder
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.factory.annotation.CustomAutowireConfigurer Detail:
 public int getOrder() 
 public  void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException 
 public  void setBeanClassLoader(ClassLoader beanClassLoader) 
 public  void setCustomQualifierTypes(Set customQualifierTypes) 
    Register custom qualifier annotation types to be considered when autowiring beans. Each element of the provided set may be either a Class instance or a String representation of the fully-qualified class name of the custom annotation.

    Note that any annotation that is itself annotated with Spring's org.springframework.beans.factory.annotation.Qualifier does not require explicit registration.

 public  void setOrder(int order)