org.outerj.xreporter.http
Class HttpConnectorImpl.XReporterLogSink

java.lang.Object
  extended byorg.outerj.xreporter.http.HttpConnectorImpl.XReporterLogSink
All Implemented Interfaces:
org.mortbay.util.LifeCycle, org.mortbay.util.LogSink, java.io.Serializable
Enclosing class:
HttpConnectorImpl

protected class HttpConnectorImpl.XReporterLogSink
extends java.lang.Object
implements org.mortbay.util.LogSink

Implementation of a Jetty LogSink that outputs the logs to an Avalon Logger.

See Also:
Serialized Form

Constructor Summary
protected HttpConnectorImpl.XReporterLogSink()
           
 
Method Summary
 java.lang.String getOptions()
           
 boolean isStarted()
           
 void log(java.lang.String formattedLog)
           
 void log(java.lang.String tag, java.lang.Object message, org.mortbay.util.Frame frame, long time)
           
 void setOptions(java.lang.String s)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpConnectorImpl.XReporterLogSink

protected HttpConnectorImpl.XReporterLogSink()
Method Detail

setOptions

public void setOptions(java.lang.String s)
Specified by:
setOptions in interface org.mortbay.util.LogSink

getOptions

public java.lang.String getOptions()
Specified by:
getOptions in interface org.mortbay.util.LogSink

log

public void log(java.lang.String tag,
                java.lang.Object message,
                org.mortbay.util.Frame frame,
                long time)
Specified by:
log in interface org.mortbay.util.LogSink

log

public void log(java.lang.String formattedLog)
Specified by:
log in interface org.mortbay.util.LogSink

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface org.mortbay.util.LifeCycle
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.InterruptedException
Specified by:
stop in interface org.mortbay.util.LifeCycle
Throws:
java.lang.InterruptedException

isStarted

public boolean isStarted()
Specified by:
isStarted in interface org.mortbay.util.LifeCycle