com.siviam.bobup.handler
Class BackupRecoveryRegistry

java.lang.Object
  extended bycom.siviam.bobup.handler.BackupRecoveryRegistry

public class BackupRecoveryRegistry
extends java.lang.Object

Registry of handlers for backup and recovery.

Author:
vishnu

Method Summary
 void addBackupRecoveryHandler(IBackupRecoveryHandler handler)
           
 void clearAllHandlers()
          Removes all the handlers that are currently registered.
 IBackupRecoveryHandler getHandler(java.lang.String type)
           
 java.util.Set getHandlerTypes()
          Obtains a set view of the handler types registered with this registry.
static BackupRecoveryRegistry getInstance()
          Obtains the singleton instance.
 void removeBackupRecoveryHandler(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BackupRecoveryRegistry getInstance()
Obtains the singleton instance.

Returns:

addBackupRecoveryHandler

public void addBackupRecoveryHandler(IBackupRecoveryHandler handler)
Parameters:
handler -

removeBackupRecoveryHandler

public void removeBackupRecoveryHandler(java.lang.String type)
Parameters:
type -

getHandler

public IBackupRecoveryHandler getHandler(java.lang.String type)
Parameters:
type -
Returns:

getHandlerTypes

public java.util.Set getHandlerTypes()
Obtains a set view of the handler types registered with this registry.

Returns:

clearAllHandlers

public void clearAllHandlers()
Removes all the handlers that are currently registered.



Copyright © 2001-2006. All Rights Reserved.