Class AttributeRegistryServiceStrategy

  • All Implemented Interfaces:
    Function<ApplicationContext,​net.shibboleth.utilities.java.support.service.ServiceableComponent<net.shibboleth.idp.attribute.transcoding.AttributeTranscoderRegistry>>, net.shibboleth.utilities.java.support.component.Component, net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.IdentifiableComponent, net.shibboleth.utilities.java.support.component.IdentifiedComponent, net.shibboleth.utilities.java.support.component.InitializableComponent

    public class AttributeRegistryServiceStrategy
    extends net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
    implements Function<ApplicationContext,​net.shibboleth.utilities.java.support.service.ServiceableComponent<net.shibboleth.idp.attribute.transcoding.AttributeTranscoderRegistry>>
    Strategy for summoning up an AttributeTranscoderRegistryImpl from a populated ApplicationContext.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.slf4j.Logger log
      Class logger.
      private String namingRegistry
      Name of bean to supply naming function registry property.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.shibboleth.utilities.java.support.service.ServiceableComponent<net.shibboleth.idp.attribute.transcoding.AttributeTranscoderRegistry> apply​(ApplicationContext appContext)
      void setNamingRegistry​(String beanName)
      Set the name of the bean providing the AttributeTranscoderRegistryImpl.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 interface net.shibboleth.utilities.java.support.component.IdentifiedComponent

        getId
    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
      • namingRegistry

        @Nullable
        @NotEmpty
        private String namingRegistry
        Name of bean to supply naming function registry property.
    • Constructor Detail

      • AttributeRegistryServiceStrategy

        public AttributeRegistryServiceStrategy()
    • Method Detail

      • apply

        @Nullable
        public net.shibboleth.utilities.java.support.service.ServiceableComponent<net.shibboleth.idp.attribute.transcoding.AttributeTranscoderRegistry> apply​(@Nullable
                                                                                                                                                              ApplicationContext appContext)
        Specified by:
        apply in interface Function<ApplicationContext,​net.shibboleth.utilities.java.support.service.ServiceableComponent<net.shibboleth.idp.attribute.transcoding.AttributeTranscoderRegistry>>