|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.szegedi.spring.beans.factory.BeanFactoryUtilsEx
public class BeanFactoryUtilsEx
An extension to the beans factory utils in Spring.
Constructor Summary | |
---|---|
BeanFactoryUtilsEx()
|
Method Summary | |
---|---|
static java.lang.Object |
beanOfTypeIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory lbf,
java.lang.Class type)
Returns a bean of specified type in the specified bean factory or its ancestors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanFactoryUtilsEx()
Method Detail |
---|
public static java.lang.Object beanOfTypeIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory lbf, java.lang.Class type)
lbf
- the bean factory to look for the beantype
- the expected type of the bean
org.springframework.beans.factory.NoSuchBeanDefinitionException
- if more than one bean is defined
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |