Class AttributeRegistryServiceStrategy
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
-
- net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
-
- net.shibboleth.idp.attribute.transcoding.impl.AttributeRegistryServiceStrategy
-
- All Implemented Interfaces:
Function<ApplicationContext,ServiceableComponent<AttributeTranscoderRegistry>>,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
public class AttributeRegistryServiceStrategy extends AbstractIdentifiableInitializableComponent implements Function<ApplicationContext,ServiceableComponent<AttributeTranscoderRegistry>>
Strategy for summoning up anAttributeTranscoderRegistryImplfrom a populatedApplicationContext.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.private StringnamingRegistryName of bean to supply naming function registry property.
-
Constructor Summary
Constructors Constructor Description AttributeRegistryServiceStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceableComponent<AttributeTranscoderRegistry>apply(ApplicationContext appContext)voidsetNamingRegistry(String beanName)Set the name of the bean providing theAttributeTranscoderRegistryImpl.setNamingRegistry(Map)value.-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, getId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
-
-
-
Method Detail
-
setNamingRegistry
public void setNamingRegistry(@Nullable @NotEmpty String beanName)
Set the name of the bean providing theAttributeTranscoderRegistryImpl.setNamingRegistry(Map)value.- Parameters:
beanName- name of bean of typeMap
-
apply
@Nullable public ServiceableComponent<AttributeTranscoderRegistry> apply(@Nullable ApplicationContext appContext)
- Specified by:
applyin interfaceFunction<ApplicationContext,ServiceableComponent<AttributeTranscoderRegistry>>
-
-