Package org.opensaml.spring.trust
Class ChainingTrustEngineFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
net.shibboleth.shared.spring.factory.AbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>
org.opensaml.spring.trust.ChainingTrustEngineFactoryBean
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<ChainingTrustEngine<?>>,InitializingBean
public class ChainingTrustEngineFactoryBean
extends AbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>
Factory bean for
ChainingTrustEngine. This finesses the issue that some parsers are not supported
and return a bean of type object and these cannot be injected into the trust engine. This factory just filters the
unsupported engines out. A warning has been issued at point of parse so no further logging is required.
TODO: Remove the destroyInstance(ChainingTrustEngine) from this class in V6.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe unfiltered list of putative trust engines.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 voiddestroyInstance(ChainingTrustEngine<?> instance) protected ChainingTrustEngine<?>Class<?>Methods inherited from class net.shibboleth.shared.spring.factory.AbstractComponentAwareFactoryBean
createInstance, setThrowIfNullMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Field Details
-
engines
The unfiltered list of putative trust engines.
-
-
Constructor Details
-
ChainingTrustEngineFactoryBean
Constructor.- Parameters:
list- the putative trust engines.
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<ChainingTrustEngine<?>>- Specified by:
getObjectTypein classAbstractFactoryBean<ChainingTrustEngine<?>>
-
doCreateInstance
- Specified by:
doCreateInstancein classAbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>- Throws:
Exception
-
destroyInstance
We do not call the parent tear down so as to avoid any deprecation logging.
- Overrides:
destroyInstancein classAbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>- Throws:
Exception
-