| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.springframework.core.NestedRuntimeException
|
+--org.springframework.beans.BeansException
|
+--org.springframework.beans.factory.BeanNotOfRequiredTypeException
|
+--org.springframework.beans.factory.BeanIsNotAFactoryException
Exception thrown when a bean is not a factory, but a user tries to get at the factory for the given bean name. Whether a bean is a factory is determined by whether it implements the FactoryBean interface.
| Constructor Summary | |
BeanIsNotAFactoryException(String name, Object actualInstance) | |
| Methods inherited from class org.springframework.beans.factory.BeanNotOfRequiredTypeException |
getActualInstance, getActualType, getBeanName, getRequiredType |
| Methods inherited from class org.springframework.core.NestedRuntimeException |
getCause, getMessage, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
printStackTrace, getStackTrace, setStackTrace, getLocalizedMessage, toString, fillInStackTrace, initCause |
| Methods inherited from class java.lang.Object |
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals |
| Constructor Detail |
public BeanIsNotAFactoryException(String name, Object actualInstance)
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||