org.apache.jackrabbit.server.io
Interface IOListener

All Known Implementing Classes:
DefaultIOListener

public interface IOListener

IOListener defines an import/export listener.


Method Summary
 void onBegin(IOHandler handler, IOContext context)
          The import/export context has been passed to the given IOHandler
 void onEnd(IOHandler handler, IOContext context, boolean success)
          The specified IOHandler finished.
 void onError(IOHandler ioHandler, IOContext context, Exception e)
          An expection occured during import/export within the specified IOHandler.
 

Method Detail

onBegin

public void onBegin(IOHandler handler,
                    IOContext context)
The import/export context has been passed to the given IOHandler

Parameters:
handler -
context -

onEnd

public void onEnd(IOHandler handler,
                  IOContext context,
                  boolean success)
The specified IOHandler finished. A boolean flag indicates whether the handler was able to run the import/export.

Parameters:
handler -
context -
success -

onError

public void onError(IOHandler ioHandler,
                    IOContext context,
                    Exception e)
An expection occured during import/export within the specified IOHandler.

Parameters:
ioHandler -
context -
e -


Copyright © 2005-2006 . All Rights Reserved.