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 aMetadataResolverfrom a populatedApplicationContext.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
MetadataProviderContainerfor each top level resolver. If we encounter but one we are done (it is aServiceableComponentalready), otherwise we need to chain all the children together and wrap them into a Serviceable Component.
-
-
Constructor Summary
Constructors Constructor Description MetadataResolverServiceStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceableComponent<MetadataResolver>apply(ApplicationContext appContext)-
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
-
apply
@Nullable public ServiceableComponent<MetadataResolver> apply(@Nullable ApplicationContext appContext)
- Specified by:
applyin interfaceFunction<ApplicationContext,ServiceableComponent<MetadataResolver>>
-
-