Class MetadataResolverServiceStrategy
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.profile.spring.relyingparty.metadata.impl.MetadataResolverServiceStrategy
- All Implemented Interfaces:
Function<ApplicationContext,,ServiceableComponent<MetadataResolver>> Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
public class MetadataResolverServiceStrategy
extends AbstractIdentifiableInitializableComponent
implements Function<ApplicationContext,ServiceableComponent<MetadataResolver>>
Strategy for summoning up a
MetadataResolver from a populated ApplicationContext.
This is made somewhat complex by the need to chain multiple, top level Metadata Resolvers, but to not combine non
top level resolvers. The parser will create a MetadataProviderContainer for each top level resolver. If we
encounter but one we are done (it is a ServiceableComponent already), otherwise we need to chain all the
children together and wrap them into a Serviceable Component.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, getIdMethods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Constructor Details
-
MetadataResolverServiceStrategy
public MetadataResolverServiceStrategy()
-
-
Method Details
-
apply
@Nullable public ServiceableComponent<MetadataResolver> apply(@Nullable ApplicationContext appContext) - Specified by:
applyin interfaceFunction<ApplicationContext,ServiceableComponent<MetadataResolver>>
-