org.objectweb.cjdbc.common.shared
Interface BackupListener


public interface BackupListener

This class defines a BackupListener. This listener is going to be called each time, a backup or restore operation has been finished.

Version:
1.0
Author:
Nicolas Modrzyk

Method Summary
 void failure(java.lang.String backendName, java.lang.Exception failure)
          This is called when a failure has occured during a backup or recovery process
 void success(java.lang.String backendName)
          This is called when a backup was a success
 

Method Detail

success

public void success(java.lang.String backendName)
This is called when a backup was a success

Parameters:
backendName - the name of the backend where the process was finished

failure

public void failure(java.lang.String backendName,
                    java.lang.Exception failure)
This is called when a failure has occured during a backup or recovery process

Parameters:
backendName - the name of the backend
failure - the exception that caused the failure


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.