Class NamedBeanHolder<T>
java.lang.Object
org.springframework.beans.factory.config.NamedBeanHolder<T>
- Type Parameters:
T
- the bean type
- All Implemented Interfaces:
NamedBean
-
Constructor Summary
ConstructorsConstructorDescriptionNamedBeanHolder
(String beanName, T beanInstance) Create a new holder for the given bean name plus instance. -
Method Summary
Modifier and TypeMethodDescriptionReturn the corresponding bean instance.Return the name of the bean.
-
Constructor Details
-
NamedBeanHolder
-
-
Method Details
-
getBeanName
Return the name of the bean.- Specified by:
getBeanName
in interfaceNamedBean
-
getBeanInstance
Return the corresponding bean instance.
-