Class OutgoingLoggingCallback
- java.lang.Object
-
- adams.flow.webservice.interceptor.outgoing.AbstractOutgoingCallback
-
- adams.flow.webservice.interceptor.outgoing.OutgoingLoggingCallback
-
- All Implemented Interfaces:
org.apache.cxf.io.CachedOutputStreamCallback
public class OutgoingLoggingCallback extends AbstractOutgoingCallback
Callback class for outgoing logging.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Field Summary
Fields Modifier and Type Field Description protected adams.core.logging.Logger
m_Logger
the logger to use for outputting the collected data.-
Fields inherited from class adams.flow.webservice.interceptor.outgoing.AbstractOutgoingCallback
m_Message, m_OrigStream
-
-
Constructor Summary
Constructors Constructor Description OutgoingLoggingCallback(adams.core.logging.Logger logger, org.apache.cxf.message.Message msg, OutputStream os)
Initializes the callback.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
write(org.apache.cxf.interceptor.LoggingMessage buffer)
Outputs the buffer using its logger.-
Methods inherited from class adams.flow.webservice.interceptor.outgoing.AbstractOutgoingCallback
onClose, onFlush
-
-
-
-
Constructor Detail
-
OutgoingLoggingCallback
public OutgoingLoggingCallback(adams.core.logging.Logger logger, org.apache.cxf.message.Message msg, OutputStream os)
Initializes the callback.- Parameters:
logger
- the logger to use for outputting the datamsg
- the message to processos
- the output stream
-
-
Method Detail
-
write
protected void write(org.apache.cxf.interceptor.LoggingMessage buffer)
Outputs the buffer using its logger.- Specified by:
write
in classAbstractOutgoingCallback
- Parameters:
buffer
- the buffer with the collected data
-
-