Java org.springframework.beans.factory.config ConfigurableListableBeanFactory fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.beans.factory.config ConfigurableListableBeanFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.beans.factory.config ConfigurableListableBeanFactory.

The text is from its open source code.

Method

voidaddBeanPostProcessor(BeanPostProcessor beanPostProcessor)
Add a new BeanPostProcessor that will get applied to beans created by this factory.
voidaddEmbeddedValueResolver(StringValueResolver valueResolver)
Add a String resolver for embedded values such as annotation attributes.
voidaddPropertyEditorRegistrar(PropertyEditorRegistrar registrar)
Add a PropertyEditorRegistrar to be applied to all bean creation processes.
voidautowireBean(Object existingBean)
Populate the given bean instance through applying after-instantiation callbacks and bean property post-processing (e.g.
voidautowireBeanProperties(Object existingBean, int autowireMode, boolean dependencyCheck)
Autowire the bean properties of the given bean instance by name or type.
voidclearMetadataCache()
Clear the merged bean definition cache, removing entries for beans which are not considered eligible for full metadata caching yet.
ObjectconfigureBean(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).
booleancontainsBean(String name)
Does this bean factory contain a bean definition or externally registered singleton instance with the given name?
booleancontainsBeanDefinition(String beanName)
Check if this bean factory contains a bean definition with the given name.
booleancontainsLocalBean(String name)
Return whether the local bean factory contains a bean of the given name, ignoring beans defined in ancestor contexts.
booleancontainsSingleton(String beanName)
Check if this registry contains a singleton instance with the given name.
voidcopyConfigurationFrom(ConfigurableBeanFactory otherFactory)
Copy all relevant configuration from the given other factory.
TcreateBean(Class beanClass)
Fully create a new bean instance of the given class.
ObjectcreateBean(Class beanClass, int autowireMode, boolean dependencyCheck)
Fully create a new bean instance of the given class with the specified autowire strategy.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
AfindAnnotationOnBean(String beanName, Class annotationType)
Find an Annotation of annotationType on the specified bean, traversing its interfaces and super classes if no annotation can be found on the given class itself, as well as checking the bean's factory method (if any).
voidfreezeConfiguration()
Freeze all bean definitions, signalling that the registered bean definitions will not be modified or post-processed any further.
String[]getAliases(String name)
Return the aliases for the given bean name, if any.
TgetBean(String name, Class requiredType)
Return an instance, which may be shared or independent, of the specified bean.
ObjectgetBean(String name)
Return an instance, which may be shared or independent, of the specified bean.
ClassLoadergetBeanClassLoader()
Return this factory's class loader for loading bean classes (only null if even the system ClassLoader isn't accessible).
BeanDefinitiongetBeanDefinition(String beanName)
Return the registered BeanDefinition for the specified bean, allowing access to its property values and constructor argument value (which can be modified during bean factory post-processing).
intgetBeanDefinitionCount()
Return the number of beans defined in the factory.
String[]getBeanDefinitionNames()
Return the names of all beans defined in this factory.
BeanExpressionResolvergetBeanExpressionResolver()
Return the resolution strategy for expressions in bean definition values.
String[]getBeanNamesForAnnotation(Class annotationType)
Find all names of beans which are annotated with the supplied Annotation type, without creating corresponding bean instances yet.
String[]getBeanNamesForType(ResolvableType type)
Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value of getObjectType in the case of FactoryBeans.
String[]getBeanNamesForType(ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit)
Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value of getObjectType in the case of FactoryBeans.
intgetBeanPostProcessorCount()
Return the current number of registered BeanPostProcessors, if any.
MapgetBeansOfType(@Nullable Class type)
Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value of getObjectType in the case of FactoryBeans.
MapgetBeansOfType(@Nullable Class type, boolean includeNonSingletons, boolean allowEagerInit)
Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value of getObjectType in the case of FactoryBeans.
MapgetBeansWithAnnotation(Class annotationType)
Find all beans which are annotated with the supplied Annotation type, returning a Map of bean names with corresponding bean instances.
ClassgetClass()
Returns the runtime class of this Object .
ConversionServicegetConversionService()
Return the associated ConversionService, if any.
String[]getDependenciesForBean(String beanName)
Return the names of all beans that the specified bean depends on, if any.
BeanDefinitiongetMergedBeanDefinition(String beanName)
Return a merged BeanDefinition for the given bean name, merging a child bean definition with its parent if necessary.
BeanFactorygetParentBeanFactory()
Return the parent bean factory, or null if there is none.
ScopegetRegisteredScope(String scopeName)
Return the Scope implementation for the given scope name, if any.
ObjectgetSingleton(String beanName)
Return the (raw) singleton object registered under the given name.
ClassLoadergetTempClassLoader()
Return the temporary ClassLoader to use for type matching purposes, if any.
ClassgetType(String name)
Determine the type of the bean with the given name.
booleanhasEmbeddedValueResolver()
Determine whether an embedded value resolver has been registered with this bean factory, to be applied through #resolveEmbeddedValue(String) .
voidignoreDependencyInterface(Class ifc)
Ignore the given dependency interface for autowiring.
ObjectinitializeBean(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).
booleanisCurrentlyInCreation(String beanName)
Determine whether the specified bean is currently in creation.
booleanisFactoryBean(String name)
Determine whether the bean with the given name is a FactoryBean.
booleanisSingleton(String name)
Is this bean a shared singleton?
booleanisTypeMatch(String name, ResolvableType typeToMatch)
Check whether the bean with the given name matches the specified type.
voidpreInstantiateSingletons()
Ensure that all non-lazy-init singletons are instantiated, also considering org.springframework.beans.factory.FactoryBean FactoryBeans .
voidregisterAlias(String beanName, String alias)
Given a bean name, create an alias.
voidregisterResolvableDependency(Class dependencyType, @Nullable Object autowiredValue)
Register a special dependency type with corresponding autowired value.
voidregisterScope(String scopeName, Scope scope)
Register the given scope, backed by the given Scope implementation.
voidregisterSingleton(String beanName, Object singletonObject)
Register the given existing object as singleton in the bean registry, under the given bean name.
voidresolveAliases(StringValueResolver valueResolver)
Resolve all alias target names and aliases registered in this factory, applying the given StringValueResolver to them.
StringresolveEmbeddedValue(String value)
Resolve the given embedded value, e.g.
voidsetBeanClassLoader(@Nullable ClassLoader beanClassLoader)
Set the class loader to use for loading bean classes.
voidsetBeanExpressionResolver(@Nullable BeanExpressionResolver resolver)
Specify the resolution strategy for expressions in bean definition values.
voidsetConversionService(@Nullable ConversionService conversionService)
Specify a Spring 3.0 ConversionService to use for converting property values, as an alternative to JavaBeans PropertyEditors.
voidsetTempClassLoader(@Nullable ClassLoader tempClassLoader)
Specify a temporary ClassLoader to use for type matching purposes.
StringtoString()
Returns a string representation of the object.