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 XMLObject
The cached original source metadata document.private XMLObject
The cached original source metadata document.private MetadataIndexManager<EntityDescriptor>
Manager for secondary indexes. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BatchEntityBackingStore
(Set<MetadataIndex> initIndexes) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the cached filtered source metadata.Get the cached original source metadata.Get the secondary index manager.void
setCachedFilteredMetadata
(XMLObject metadata) Set the cached filtered source metadata.void
setCachedOriginalMetadata
(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
protected BatchEntityBackingStore(@Nullable @NonnullElements @Unmodifiable @NotLive Set<MetadataIndex> initIndexes) Constructor.- Parameters:
initIndexes
- secondary indexes for which to initialize storage
-
-
Method Details
-
getCachedOriginalMetadata
Get the cached original source metadata.- Returns:
- the cached metadata
-
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
-