aicas logoJamaica 3.2 release 62

com.aicas.jamaica.lang
Class SigTermHandler

java.lang.Object
  extended by javax.realtime.AsyncEventHandler
      extended by com.aicas.jamaica.lang.SigTermHandler
All Implemented Interfaces:
Runnable, Schedulable

public class SigTermHandler
extends AsyncEventHandler

SigIntHandler provides Jamaica's default handler for SIG_TERM, i.e., the POSIX signal that is sent by default by the 'kill' command. The default handler prints "*** terminate." to stderr and calls System.exit(130);


Constructor Summary
SigTermHandler()
          Constructor to intialize and activate this SigTermHandler.
 
Method Summary
 void handleAsyncEvent()
          The event handling routine itself.
 
Methods inherited from class javax.realtime.AsyncEventHandler
addIfFeasible, addToFeasibility, finalize, getAndClearPendingFireCount, getAndDecrementPendingFireCount, getAndIncrementPendingFireCount, getMemoryArea, getMemoryParameters, getPendingFireCount, getProcessingGroupParameters, getReleaseParameters, getScheduler, getSchedulingParameters, isDaemon, removeFromFeasibility, run, setDaemon, setIfFeasible, setIfFeasible, setIfFeasible, setIfFeasible, setIfFeasible, setMemoryParameters, setMemoryParametersIfFeasible, setProcessingGroupParameters, setProcessingGroupParametersIfFeasible, setReleaseParameters, setReleaseParametersIfFeasible, setScheduler, setScheduler, setSchedulingParameters, setSchedulingParametersIfFeasible
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SigTermHandler

public SigTermHandler()
Constructor to intialize and activate this SigTermHandler.

Method Detail

handleAsyncEvent

public void handleAsyncEvent()
The event handling routine itself. On first call, will remove the handler, print "*** terminate." to stderr, and call System.exit(130).

Overrides:
handleAsyncEvent in class AsyncEventHandler

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.