Class EntityDescriptorFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<EntityDescriptor>
-
- se.litsec.opensaml.saml2.metadata.build.spring.EntityDescriptorFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<EntityDescriptor>,org.springframework.beans.factory.InitializingBean
public class EntityDescriptorFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<EntityDescriptor>
Factory bean for creating anEntityDescriptorobject from a resource.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Constructor Summary
Constructors Constructor Description EntityDescriptorFactoryBean(org.springframework.core.io.Resource resource)Constructor taking the resource that contains the object to read.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EntityDescriptorcreateInstance()Class<?>getObjectType()
-
-
-
Method Detail
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<EntityDescriptor>- Specified by:
getObjectTypein classorg.springframework.beans.factory.config.AbstractFactoryBean<EntityDescriptor>
-
createInstance
protected EntityDescriptor createInstance() throws Exception
- Specified by:
createInstancein classorg.springframework.beans.factory.config.AbstractFactoryBean<EntityDescriptor>- Throws:
Exception
-
-