Class OrganizationFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<T>
-
- se.litsec.opensaml.core.spring.AbstractSAMLObjectBuilderFactoryBean<Organization>
-
- se.litsec.opensaml.saml2.metadata.build.spring.OrganizationFactoryBean
-
- 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<Organization>
,org.springframework.beans.factory.InitializingBean
public class OrganizationFactoryBean extends AbstractSAMLObjectBuilderFactoryBean<Organization>
A Spring factory bean for creatingOrganization
objects.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
- See Also:
OrganizationBuilder
-
-
Constructor Summary
Constructors Constructor Description OrganizationFactoryBean()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractSAMLObjectBuilder<Organization>
builder()
Returns the builder.Class<?>
getObjectType()
void
setOrganizationDisplayName(LocalizedString organizationDisplayName)
Assigns oneOrganizationDisplayName
element.void
setOrganizationDisplayNames(List<LocalizedString> organizationDisplayNames)
Assigns theOrganizationDisplayName
elements.void
setOrganizationName(LocalizedString organizationName)
Assigns oneOrganizationName
element.void
setOrganizationNames(List<LocalizedString> organizationNames)
Assigns theOrganizationName
elements.void
setOrganizationURL(LocalizedString organizationURL)
Assigns oneOrganizationURL
element.void
setOrganizationURLs(List<LocalizedString> organizationURLs)
Assigns theOrganizationURL
elements.-
Methods inherited from class se.litsec.opensaml.core.spring.AbstractSAMLObjectBuilderFactoryBean
createInstance, localizedStringListToVarArgs, stringListToVarArgs, toVarArgs
-
-
-
-
Method Detail
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<Organization>
- Specified by:
getObjectType
in classorg.springframework.beans.factory.config.AbstractFactoryBean<Organization>
-
builder
protected AbstractSAMLObjectBuilder<Organization> builder()
Returns the builder.- Specified by:
builder
in classAbstractSAMLObjectBuilderFactoryBean<Organization>
- Returns:
- the builder
-
setOrganizationNames
public void setOrganizationNames(List<LocalizedString> organizationNames)
Assigns theOrganizationName
elements.- Parameters:
organizationNames
- the names- See Also:
OrganizationBuilder.organizationNames(LocalizedString...)
-
setOrganizationName
public void setOrganizationName(LocalizedString organizationName)
Assigns oneOrganizationName
element.- Parameters:
organizationName
- the name- See Also:
OrganizationBuilder.organizationNames(LocalizedString...)
-
setOrganizationDisplayNames
public void setOrganizationDisplayNames(List<LocalizedString> organizationDisplayNames)
Assigns theOrganizationDisplayName
elements.- Parameters:
organizationDisplayNames
- the names- See Also:
OrganizationBuilder.organizationDisplayNames(LocalizedString...)
-
setOrganizationDisplayName
public void setOrganizationDisplayName(LocalizedString organizationDisplayName)
Assigns oneOrganizationDisplayName
element.- Parameters:
organizationDisplayName
- the name- See Also:
OrganizationBuilder.organizationDisplayNames(LocalizedString...)
-
setOrganizationURLs
public void setOrganizationURLs(List<LocalizedString> organizationURLs)
Assigns theOrganizationURL
elements.- Parameters:
organizationURLs
- the URLs- See Also:
OrganizationBuilder.organizationURLs(LocalizedString...)
-
setOrganizationURL
public void setOrganizationURL(LocalizedString organizationURL)
Assigns oneOrganizationURL
element.- Parameters:
organizationURL
- the URL- See Also:
OrganizationBuilder.organizationURLs(LocalizedString...)
-
-