Package org.apache.jackrabbit.server.io
Class DefaultIOListener
- java.lang.Object
-
- org.apache.jackrabbit.server.io.DefaultIOListener
-
- All Implemented Interfaces:
IOListener
public class DefaultIOListener extends Object implements IOListener
DefaultIOListenerimplements anIOListenerthat writes debug/error output to theloggerspecified in the constructor.
-
-
Constructor Summary
Constructors Constructor Description DefaultIOListener(org.slf4j.Logger ioLog)Creates a newDefaultIOListener
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonBegin(IOHandler handler, IOContext ioContext)The import/export context has been passed to the givenIOHandler.voidonEnd(IOHandler handler, IOContext ioContext, boolean success)The specifiedIOHandlerfinished.voidonError(IOHandler ioHandler, IOContext ioContext, Exception e)An exception occurred during import/export within the specifiedIOHandler.
-
-
-
Method Detail
-
onBegin
public void onBegin(IOHandler handler, IOContext ioContext)
Description copied from interface:IOListenerThe import/export context has been passed to the givenIOHandler.- Specified by:
onBeginin interfaceIOListener- See Also:
IOListener.onBegin(IOHandler, IOContext)
-
onEnd
public void onEnd(IOHandler handler, IOContext ioContext, boolean success)
Description copied from interface:IOListenerThe specifiedIOHandlerfinished. A boolean flag indicates whether the handler was able to run the import/export.- Specified by:
onEndin interfaceIOListener- See Also:
IOListener.onEnd(IOHandler, IOContext, boolean)
-
onError
public void onError(IOHandler ioHandler, IOContext ioContext, Exception e)
Description copied from interface:IOListenerAn exception occurred during import/export within the specifiedIOHandler.- Specified by:
onErrorin interfaceIOListener- See Also:
IOListener.onError(IOHandler, IOContext, Exception)
-
-