Interface MultipleRepository

All Superinterfaces:
Repository

public interface MultipleRepository extends Repository
Interface extending Repository to allow transparent access to internal multiple repositories based on credentials given by the caller.
Version:
$Id$
  • Method Details

    • addRepository

      void addRepository(Credentials credentials, Repository repository)
      Adds an internal repository with a credentials as key
      Parameters:
      credentials -
      repository -
    • removeRepository

      boolean removeRepository(Credentials credentials)
      Removes an internal repository with a credentials as key
      Parameters:
      credentials -
      Returns:
      removed
    • getRepositoryMap

      Map<Credentials,Repository> getRepositoryMap()
      Returns the internal repository map.
    • containsRepositoryByCredentials

      boolean containsRepositoryByCredentials(Credentials credentials)
      Checks if it contains the internal repository which has the specified credentials.
      Parameters:
      credentials -
    • getRepositoryByCredentials

      Repository getRepositoryByCredentials(Credentials credentials)
      Returns the internal repository which has the specified credentials as its default credentials.
      Parameters:
      credentials -
    • getResourceLifecycleManagements

      ResourceLifecycleManagement[] getResourceLifecycleManagements()
      Returns the resource lifecycle management implementation.
      See Also: