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

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

Parameters:
handler -
context -

onEnd

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

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

Parameters:
ioHandler -
context -
e -


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.