Example usage for Java org.springframework.beans.factory.config AutowireCapableBeanFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
int | AUTOWIRE_NO Constant that indicates no externally defined autowiring. |
int | AUTOWIRE_BY_NAME Constant that indicates autowiring bean properties by name (applying to all bean property setters). |
int | AUTOWIRE_BY_TYPE Constant that indicates autowiring bean properties by type (applying to all bean property setters). |
int | AUTOWIRE_CONSTRUCTOR Constant that indicates autowiring the greediest constructor that can be satisfied (involves resolving the appropriate constructor). |
int | AUTOWIRE_AUTODETECT Constant that indicates determining an appropriate autowire strategy through introspection of the bean class. |
Object | applyBeanPostProcessorsAfterInitialization(Object existingBean, String beanName) Apply BeanPostProcessor BeanPostProcessors to the given existing bean instance, invoking their postProcessAfterInitialization methods. |
Object | applyBeanPostProcessorsBeforeInitialization(Object existingBean, String beanName) Apply BeanPostProcessor BeanPostProcessors to the given existing bean instance, invoking their postProcessBeforeInitialization methods. |
Object | autowire(Class> beanClass, int autowireMode, boolean dependencyCheck) Instantiate a new bean instance of the given class with the specified autowire strategy. |
void | autowireBean(Object existingBean) Populate the given bean instance through applying after-instantiation callbacks and bean property post-processing (e.g. |
void | autowireBeanProperties(Object existingBean, int autowireMode, boolean dependencyCheck) Autowire the bean properties of the given bean instance by name or type. |
Object | configureBean(Object existingBean, String beanName) Configure the given raw bean: autowiring bean properties, applying bean property values, applying factory callbacks such as setBeanName and setBeanFactory , and also applying all bean post processors (including ones which might wrap the given raw bean). |
boolean | containsBean(String name) Does this bean factory contain a bean definition or externally registered singleton instance with the given name? |
Object | createBean(Class> beanClass, int autowireMode, boolean dependencyCheck) Fully create a new bean instance of the given class with the specified autowire strategy. |
T | createBean(Class Fully create a new bean instance of the given class. |
T | getBean(String name, Class Return an instance, which may be shared or independent, of the specified bean. |
Object | getBean(String name) Return an instance, which may be shared or independent, of the specified bean. |
Object | initializeBean(Object existingBean, String beanName) Initialize the given raw bean, applying factory callbacks such as setBeanName and setBeanFactory , also applying all bean post processors (including ones which might wrap the given raw bean). |