org.jboss.logging
Class Log4jSocketServer.SocketListenerThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.jboss.logging.Log4jSocketServer.SocketListenerThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
Log4jSocketServer (src)

protected class Log4jSocketServer.SocketListenerThread
extends java.lang.Thread


Field Summary
protected  boolean enabled
           
protected  java.lang.Object lock
           
protected  Logger (src) log
           
protected  boolean shuttingDown
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Log4jSocketServer.SocketListenerThread(boolean enabled)
           
 
Method Summary
protected  void doRun()
           
 void run()
           
 void setEnabled(boolean enabled)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected Logger (src)  log

enabled

protected boolean enabled

shuttingDown

protected boolean shuttingDown

lock

protected java.lang.Object lock
Constructor Detail

Log4jSocketServer.SocketListenerThread

public Log4jSocketServer.SocketListenerThread(boolean enabled)
Method Detail

setEnabled

public void setEnabled(boolean enabled)

shutdown

public void shutdown()

run

public void run()

doRun

protected void doRun()
              throws java.lang.Exception
Throws:
java.lang.Exception