net.sf.jour.util
Class ShutdownHook

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.sf.jour.util.ShutdownHook
All Implemented Interfaces:
java.lang.Runnable

public class ShutdownHook
extends java.lang.Thread

TODO Add docs Created on 09.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.4 $ ($Author: vlads $) $Date: 2004/12/09 22:58:18 $
Author:
vlads

Field Summary
static ShutdownHook instance
           
protected static org.apache.log4j.Logger log
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
static void addListener(ShutdownListener listener)
           
static void removeListener(ShutdownListener listener)
           
 void run()
           
 
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 static final org.apache.log4j.Logger log

instance

public static ShutdownHook instance
Method Detail

addListener

public static void addListener(ShutdownListener listener)

removeListener

public static void removeListener(ShutdownListener listener)

run

public void run()


Copyright © 2004 sourceforge. All Rights Reserved.