|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.server.io.DefaultIOListener
public class DefaultIOListener
DefaultIOListener
implements an IOListener
that
writes debug/error output to the logger
specified in the constructor.
Constructor Summary | |
---|---|
DefaultIOListener(org.slf4j.Logger ioLog)
Creates a new DefaultIOListener |
Method Summary | |
---|---|
void |
onBegin(IOHandler handler,
IOContext ioContext)
The import/export context has been passed to the given IOHandler |
void |
onEnd(IOHandler handler,
IOContext ioContext,
boolean success)
The specified IOHandler finished. |
void |
onError(IOHandler ioHandler,
IOContext ioContext,
Exception e)
An expection occured during import/export within the specified IOHandler . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultIOListener(org.slf4j.Logger ioLog)
DefaultIOListener
Method Detail |
---|
public void onBegin(IOHandler handler, IOContext ioContext)
IOListener
IOHandler
onBegin
in interface IOListener
IOListener.onBegin(IOHandler, IOContext)
public void onEnd(IOHandler handler, IOContext ioContext, boolean success)
IOListener
IOHandler
finished. A boolean flag indicates
whether the handler was able to run the import/export.
onEnd
in interface IOListener
IOListener.onEnd(IOHandler, IOContext, boolean)
public void onError(IOHandler ioHandler, IOContext ioContext, Exception e)
IOListener
IOHandler
.
onError
in interface IOListener
IOListener.onError(IOHandler, IOContext, Exception)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |