Class ClientStorageSaveContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
org.opensaml.storage.impl.client.ClientStorageSaveContext
All Implemented Interfaces:
Iterable<BaseContext>

public class ClientStorageSaveContext extends BaseContext
A subcontext for driving the saving of data to a client from one or more instances of a ClientStorageService.
  • Field Details

  • Constructor Details

    • ClientStorageSaveContext

      public ClientStorageSaveContext()
      Constructor.
  • Method Details

    • getStorageOperations

      @Nonnull @Live public Collection<ClientStorageServiceOperation> getStorageOperations()
      Get the storage operations to perform.
      Returns:
      modifiable collection of storage operations
    • isSourceRequired

      public boolean isSourceRequired(@Nonnull ClientStorageService.ClientStorageSource source)
      Get whether a particular storage source is implicated by the queued operations.
      Parameters:
      source - storage source to check for
      Returns:
      true iff the operations include at least one against the specified source