Class AbstractBatchMetadataResolver.BatchEntityBackingStore
java.lang.Object
org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver.EntityBackingStore
org.opensaml.saml.metadata.resolver.impl.AbstractBatchMetadataResolver.BatchEntityBackingStore
- Enclosing class:
- AbstractBatchMetadataResolver
protected class AbstractBatchMetadataResolver.BatchEntityBackingStore
extends AbstractMetadataResolver.EntityBackingStore
Specialized entity backing store implementation for batch metadata resolvers.
Adds the following to parent impl:
- capable of storing the original metadata document on which the backing store is based
- stores data for any secondary indexes defined
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate XMLObjectThe cached original source metadata document.private XMLObjectThe cached original source metadata document.private final MetadataIndexManager<EntityDescriptor>Manager for secondary indexes. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBatchEntityBackingStore(Set<MetadataIndex> initIndexes) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the cached original source metadata, raising anIllegalStateExceptionif null.Get the cached filtered source metadata.Get the cached original source metadata.Get the secondary index manager.voidsetCachedFilteredMetadata(XMLObject metadata) Set the cached filtered source metadata.voidsetCachedOriginalMetadata(XMLObject metadata) Set the cached original source metadata.Methods inherited from class org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver.EntityBackingStore
getIndexedDescriptors, getOrderedDescriptors
-
Field Details
-
cachedOriginalMetadata
The cached original source metadata document. -
cachedFilteredMetadata
The cached original source metadata document. -
secondaryIndexManager
Manager for secondary indexes.
-
-
Constructor Details
-
BatchEntityBackingStore
Constructor.- Parameters:
initIndexes- secondary indexes for which to initialize storage
-
-
Method Details
-
getCachedOriginalMetadata
Get the cached original source metadata.- Returns:
- the cached metadata
-
ensureCachedOriginalMetadata
Get the cached original source metadata, raising anIllegalStateExceptionif null.- Returns:
- the cached metadata
- Since:
- 5.0.0
-
setCachedOriginalMetadata
Set the cached original source metadata.- Parameters:
metadata- The new cached metadata
-
getCachedFilteredMetadata
Get the cached filtered source metadata.- Returns:
- the cached metadata
-
setCachedFilteredMetadata
Set the cached filtered source metadata.- Parameters:
metadata- The new cached metadata
-
getSecondaryIndexManager
Get the secondary index manager.- Returns:
- the manager for secondary indexes
-