Example usage for Java org.springframework.beans.factory BeanFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
String | FACTORY_BEAN_PREFIX Used to dereference a FactoryBean instance and distinguish it from beans created by the FactoryBean. |
boolean | containsBean(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. |
Object | getBean(String name) Return an instance, which may be shared or independent, of the specified bean. |
T | getBean(Class Return the bean instance that uniquely matches the given object type, if any. |
T | getBean(String name, Class Return an instance, which may be shared or independent, of the specified bean. |
Object | getBean(String name, Object... args) Return an instance, which may be shared or independent, of the specified bean. |
T | getBean(Class Return an instance, which may be shared or independent, of the specified bean. |
Class> | getClass() Returns the runtime class of this Object . |
Class> | getType(String name) Determine the type of the bean with the given name. |
boolean | isPrototype(String name) Is this bean a prototype? |
boolean | isSingleton(String name) Is this bean a shared singleton? |
boolean | isTypeMatch(String name, ResolvableType typeToMatch) Check whether the bean with the given name matches the specified type. |
boolean | isTypeMatch(String name, Class> typeToMatch) Check whether the bean with the given name matches the specified type. |