Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.vinculum.engine
Class WebLog  view WebLog download WebLog.java

java.lang.Object
  extended bycom.vinculum.engine.WebLog
All Implemented Interfaces:
org.mortbay.util.LifeCycle, org.mortbay.util.LogSink, java.io.Serializable

public class WebLog
extends java.lang.Object
implements org.mortbay.util.LogSink


Constructor Summary
WebLog()
           
 
Method Summary
 java.lang.String getOptions()
           
 boolean isStarted()
           
 void log(java.lang.String arg0)
          Log a message.
 void log(java.lang.String arg0, java.lang.Object arg1, org.mortbay.util.Frame arg2, long arg3)
          Log a message.
 void setOptions(java.lang.String arg0)
          Set the log options.
 void start()
          Start the LifeCycle.
 void stop()
          Stop the LifeCycle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebLog

public WebLog()
Method Detail

setOptions

public void setOptions(java.lang.String arg0)
Description copied from interface: org.mortbay.util.LogSink
Set the log options.

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 arg0,
                java.lang.Object arg1,
                org.mortbay.util.Frame arg2,
                long arg3)
Description copied from interface: org.mortbay.util.LogSink
Log a message. This method formats the log information as a string and calls log(String). It should only be specialized by a derived implementation if the format of the logged messages is to be changed.

Specified by:
log in interface org.mortbay.util.LogSink

log

public void log(java.lang.String arg0)
Description copied from interface: org.mortbay.util.LogSink
Log a message. The formatted log string is written to the log sink. The default implementation writes the message to a PrintWriter.

Specified by:
log in interface org.mortbay.util.LogSink

start

public void start()
           throws java.lang.Exception
Description copied from interface: org.mortbay.util.LifeCycle
Start the LifeCycle.

Specified by:
start in interface org.mortbay.util.LifeCycle

stop

public void stop()
          throws java.lang.InterruptedException
Description copied from interface: org.mortbay.util.LifeCycle
Stop the LifeCycle. The LifeCycle may wait for current activities to complete normally, but it can be interrupted.

Specified by:
stop in interface org.mortbay.util.LifeCycle

isStarted

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