Class AbstractComponentAwareFactoryBean<T>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
net.shibboleth.ext.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
,PatternFactoryBean
A Factory bean which is aware of
DestructableComponent
.-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final T
Call the parent class to create the object, then initialize it aposite.protected void
destroyInstance
(T instance) .protected abstract T
Call 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:
destroyInstance
in classAbstractFactoryBean<T>
- Throws:
Exception
-
createInstance
Call the parent class to create the object, then initialize it aposite. .- Specified by:
createInstance
in classAbstractFactoryBean<T>
- Throws:
Exception
-
doCreateInstance
Call the parent class to create the instance.- Returns:
- the bean.
- Throws:
Exception
- if needed.
-