|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | 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
public class 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.
FactoryBean
,
Serialized FormConstructor Summary | |
---|---|
BeanIsNotAFactoryException(java.lang.String name,
java.lang.Class actualType)
Create a new BeanIsNotAFactoryException. |
Method Summary |
---|
Methods inherited from class org.springframework.beans.factory.BeanNotOfRequiredTypeException |
---|
getActualType, getBeanName, getRequiredType |
Methods inherited from class org.springframework.beans.BeansException |
---|
equals, hashCode |
Methods inherited from class org.springframework.core.NestedRuntimeException |
---|
contains, getMessage, getMostSpecificCause, getRootCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BeanIsNotAFactoryException(java.lang.String name, java.lang.Class actualType)
name
- the name of the bean requestedactualType
- the actual type returned, which did not match
the expected type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |