Class AbstractComponentAwareFactoryBean<T>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
net.shibboleth.shared.spring.factory.AbstractComponentAwareFactoryBean<T>
- Type Parameters:
T- The type to implement
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<T>,InitializingBean
- Direct Known Subclasses:
EvaluableScriptFactoryBean,HttpHostFactoryBean,PatternFactoryBean,UsernamePasswoordCredentialsFactoryBean
A Factory bean which is aware of the component lifecycle interfaces.
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final TCall the parent class to create the object, then initialize it aposite.protected voiddestroyInstance(T instance) .protected abstract TCall the parent class to create the instance.Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, getObjectType, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
AbstractComponentAwareFactoryBean
public AbstractComponentAwareFactoryBean()
-
-
Method Details
-
destroyInstance
. Call our destroy method if aposite.- Overrides:
destroyInstancein classAbstractFactoryBean<T>- Throws:
Exception
-
createInstance
Call the parent class to create the object, then initialize it aposite. .- Specified by:
createInstancein classAbstractFactoryBean<T>- Throws:
Exception
-
doCreateInstance
Call the parent class to create the instance.- Returns:
- the bean.
- Throws:
Exception- if needed.
-