kaos.policy.guard
Interface GuardManager

All Known Implementing Classes:
KAoSGridGuard, KAoSGuard

public interface GuardManager

This interface defines methods to manage different guard modules


Method Summary
 java.util.Vector getAllRepositoryManagers()
          Get all Repository Manager objects contained in this guard.
 HistoryMonitor getGuardLogManager()
          Get the manager for the event log contained in the guard.
 PolicyDBManager getPolicyDBManager()
          Get the manager for the policy database contained in the guard.
 GuardRepositoryManager getRepositoryManager(java.lang.String repType)
          Get the repository manager object for the given type of repository
 void removeAllRepositoryManagers()
          Remove all Repository Manager objects contained in this guard.
 GuardRepositoryManager removeRepositoryManager(java.lang.String repType)
          Remove from this guard the repository manager object for the given type of repository
 void setRepositoryManager(java.lang.String repType, GuardRepositoryManager repManager)
          Set the repository manager object for the given type of repository
 

Method Detail

getRepositoryManager

GuardRepositoryManager getRepositoryManager(java.lang.String repType)
Get the repository manager object for the given type of repository

Parameters:
repType - A String indicating the type of repository.
Returns:
The repository manager object for the given type of repository

removeRepositoryManager

GuardRepositoryManager removeRepositoryManager(java.lang.String repType)
Remove from this guard the repository manager object for the given type of repository

Parameters:
repType - A String indicating the type of repository.
Returns:
The removed repository manager object for the given type of repository

setRepositoryManager

void setRepositoryManager(java.lang.String repType,
                          GuardRepositoryManager repManager)
Set the repository manager object for the given type of repository

Parameters:
repType - A String indicating the type of repository.
repManager - The RepositoryManager object to be set for the given type.

getAllRepositoryManagers

java.util.Vector getAllRepositoryManagers()
Get all Repository Manager objects contained in this guard.

Returns:
A Vector containing all Repository Manager objects.

removeAllRepositoryManagers

void removeAllRepositoryManagers()
Remove all Repository Manager objects contained in this guard.


getPolicyDBManager

PolicyDBManager getPolicyDBManager()
Get the manager for the policy database contained in the guard.

Returns:
A manager obejct for the policy database.

getGuardLogManager

HistoryMonitor getGuardLogManager()
Get the manager for the event log contained in the guard.

Returns:
A manager obejct for the event log.