Example usage for Java org.springframework.beans.factory.config ConfigurableBeanFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
String | SCOPE_SINGLETON Scope identifier for the standard singleton scope: "singleton". |
String | SCOPE_PROTOTYPE Scope identifier for the standard prototype scope: "prototype". |
void | addBeanPostProcessor(BeanPostProcessor beanPostProcessor) Add a new BeanPostProcessor that will get applied to beans created by this factory. |
boolean | containsBean(String name) Does this bean factory contain a bean definition or externally registered singleton instance with the given name? |
boolean | containsLocalBean(String name) Return whether the local bean factory contains a bean of the given name, ignoring beans defined in ancestor contexts. |
boolean | containsSingleton(String beanName) Check if this registry contains a singleton instance with the given name. |
void | destroyBean(String beanName, Object beanInstance) Destroy the given bean instance (usually a prototype instance obtained from this factory) according to its bean definition. |
void | destroyScopedBean(String beanName) Destroy the specified scoped bean in the current target scope, if any. |
void | destroySingletons() Destroy all singleton beans in this factory, including inner beans that have been registered as disposable. |
Object | getBean(String name) Return an instance, which may be shared or independent, of the specified bean. |
BeanExpressionResolver | getBeanExpressionResolver() Return the resolution strategy for expressions in bean definition values. |
BeanFactory | getParentBeanFactory() Return the parent bean factory, or null if there is none. |
Scope | getRegisteredScope(String scopeName) Return the Scope implementation for the given scope name, if any. |
String[] | getRegisteredScopeNames() Return the names of all currently registered scopes. |
Object | getSingleton(String beanName) Return the (raw) singleton object registered under the given name. |
String[] | getSingletonNames() Return the names of singleton beans registered in this registry. |
boolean | isCurrentlyInCreation(String beanName) Determine whether the specified bean is currently in creation. |
void | registerDependentBean(String beanName, String dependentBeanName) Register a dependent bean for the given bean, to be destroyed before the given bean is destroyed. |
void | registerScope(String scopeName, Scope scope) Register the given scope, backed by the given Scope implementation. |
void | registerSingleton(String beanName, Object singletonObject) Register the given existing object as singleton in the bean registry, under the given bean name. |
String | resolveEmbeddedValue(String value) Resolve the given embedded value, e.g. |