public class ResourceBackedMetadataResolver extends AbstractReloadingMetadataResolver
Resource
.AbstractBatchMetadataResolver.BatchEntityBackingStore
AbstractMetadataResolver.EntityBackingStore
Constructor and Description |
---|
ResourceBackedMetadataResolver(net.shibboleth.utilities.java.support.resource.Resource resource)
Constructor.
|
ResourceBackedMetadataResolver(Timer timer,
net.shibboleth.utilities.java.support.resource.Resource resource)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doDestroy() |
protected byte[] |
fetchMetadata()
Fetches metadata from a source.
|
protected String |
getMetadataIdentifier()
Gets an identifier which may be used to distinguish this metadata in logging statements.
|
computeNextRefreshDelay, getExpirationTime, getLastRefresh, getLastUpdate, getMaxRefreshDelay, getMinRefreshDelay, getNextRefresh, getRefreshDelayFactor, initMetadataResolver, inputstreamToByteArray, postProcessMetadata, processCachedMetadata, processNewMetadata, processNonExpiredMetadata, processPreExpiredMetadata, refresh, setCacheSourceMetadata, setMaxRefreshDelay, setMinRefreshDelay, setRefreshDelayFactor, unmarshallMetadata
createNewBackingStore, getBackingStore, getCachedFilteredMetadata, getCachedOriginalMetadata, isCacheSourceMetadata, iterator, preProcessNewMetadata, resolve
doInitialize, filterMetadata, getMetadataFilter, getParserPool, getUnmarshallerFactory, indexEntityDescriptor, isFailFastInitialization, isRequireValidMetadata, isValid, lookupEntityID, lookupIndexedEntityID, preProcessEntitiesDescriptor, preProcessEntityDescriptor, releaseMetadataDOM, removeByEntityID, resolveSingle, setBackingStore, setFailFastInitialization, setMetadataFilter, setParserPool, setRequireValidMetadata, unmarshallMetadata
setId
getId
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetadataFilter, isRequireValidMetadata, setMetadataFilter, setRequireValidMetadata
resolve, resolveSingle
getId
forEach, spliterator
public ResourceBackedMetadataResolver(Timer timer, net.shibboleth.utilities.java.support.resource.Resource resource) throws IOException
resource
- resource from which to read the metadata file.timer
- task timer used to schedule metadata refresh tasksIOException
- thrown if there is a problem retrieving information about the resourcepublic ResourceBackedMetadataResolver(net.shibboleth.utilities.java.support.resource.Resource resource) throws IOException
resource
- resource from which to read the metadata file.IOException
- thrown if there is a problem retrieving information about the resourceprotected void doDestroy()
doDestroy
in class AbstractReloadingMetadataResolver
protected String getMetadataIdentifier()
getMetadataIdentifier
in class AbstractReloadingMetadataResolver
protected byte[] fetchMetadata() throws net.shibboleth.utilities.java.support.resolver.ResolverException
fetchMetadata
in class AbstractReloadingMetadataResolver
net.shibboleth.utilities.java.support.resolver.ResolverException
- thrown if there is a problem fetching the metadataCopyright © 2018. All rights reserved.