org.iids.aos
Class AsShutdown

java.lang.Object
  extended by org.iids.aos.AsShutdown

public abstract class AsShutdown
extends java.lang.Object

Utility class that helps to structure shutting down of AgentScape. It only allows for one shutdown hook to be set per JVM using these semantics, and it allows other classes to get some info on the system (is it shutting down or not).

Author:
reiniert

Method Summary
static boolean isShuttingDown()
           
static void setShutdownHook(java.lang.Runnable r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setShutdownHook

public static void setShutdownHook(java.lang.Runnable r)

isShuttingDown

public static boolean isShuttingDown()


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.