com.ericdaugherty.mail.server
Class ShutdownService

java.lang.Object
  extended by com.ericdaugherty.mail.server.ShutdownService
All Implemented Interfaces:
java.lang.Runnable

public class ShutdownService
extends java.lang.Object
implements java.lang.Runnable

This thread runs when the JVM is shutdown.

Author:
Eric Daugherty

Constructor Summary
ShutdownService()
           
 
Method Summary
 void run()
          Runs when the JVM is shutdown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShutdownService

public ShutdownService()
Method Detail

run

public void run()
Runs when the JVM is shutdown. Stops all threads gracefully.

Specified by:
run in interface java.lang.Runnable