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

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

Introduction

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

The text is from its open source code.

Implementation

org.springframework.beans.factory.BeanFactory has the following implementations.
Click this link to see all its implementation.

Field

StringFACTORY_BEAN_PREFIX
Used to dereference a FactoryBean instance and distinguish it from beans created by the FactoryBean.

Method

booleancontainsBean(String name)
Does this bean factory contain a bean definition or externally registered singleton instance with the given name?
String[]getAliases(String name)
Return the aliases for the given bean name, if any.
ObjectgetBean(String name)
Return an instance, which may be shared or independent, of the specified bean.
TgetBean(Class requiredType)
Return the bean instance that uniquely matches the given object type, if any.
TgetBean(String name, Class requiredType)
Return an instance, which may be shared or independent, of the specified bean.
ObjectgetBean(String name, Object... args)
Return an instance, which may be shared or independent, of the specified bean.
TgetBean(Class requiredType, Object... args)
Return an instance, which may be shared or independent, of the specified bean.
ClassgetClass()
Returns the runtime class of this Object .
ClassgetType(String name)
Determine the type of the bean with the given name.
booleanisPrototype(String name)
Is this bean a prototype?
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.
booleanisTypeMatch(String name, Class typeToMatch)
Check whether the bean with the given name matches the specified type.