Class 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:

    1. capable of storing the original metadata document on which the backing store is based
    2. stores data for any secondary indexes defined
    • Field Detail

      • cachedOriginalMetadata

        private org.opensaml.core.xml.XMLObject cachedOriginalMetadata
        The cached original source metadata document.
      • cachedFilteredMetadata

        private org.opensaml.core.xml.XMLObject cachedFilteredMetadata
        The cached original source metadata document.
      • secondaryIndexManager

        private MetadataIndexManager<org.opensaml.saml.saml2.metadata.EntityDescriptor> secondaryIndexManager
        Manager for secondary indexes.
    • Constructor Detail

      • BatchEntityBackingStore

        protected BatchEntityBackingStore​(@Nullable @NonnullElements @Unmodifiable @NotLive
                                          Set<org.opensaml.saml.metadata.resolver.index.MetadataIndex> initIndexes)
        Constructor.
        Parameters:
        initIndexes - secondary indexes for which to initialize storage
    • Method Detail

      • getCachedOriginalMetadata

        public org.opensaml.core.xml.XMLObject getCachedOriginalMetadata()
        Get the cached original source metadata.
        Returns:
        the cached metadata
      • setCachedOriginalMetadata

        public void setCachedOriginalMetadata​(org.opensaml.core.xml.XMLObject metadata)
        Set the cached original source metadata.
        Parameters:
        metadata - The new cached metadata
      • getCachedFilteredMetadata

        public org.opensaml.core.xml.XMLObject getCachedFilteredMetadata()
        Get the cached filtered source metadata.
        Returns:
        the cached metadata
      • setCachedFilteredMetadata

        public void setCachedFilteredMetadata​(org.opensaml.core.xml.XMLObject metadata)
        Set the cached filtered source metadata.
        Parameters:
        metadata - The new cached metadata
      • getSecondaryIndexManager

        public MetadataIndexManager<org.opensaml.saml.saml2.metadata.EntityDescriptor> getSecondaryIndexManager()
        Get the secondary index manager.
        Returns:
        the manager for secondary indexes