org.tanukisoftware.wrapper.event
Class WrapperServicePauseEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.tanukisoftware.wrapper.event.WrapperEvent
          extended by org.tanukisoftware.wrapper.event.WrapperServiceEvent
              extended by org.tanukisoftware.wrapper.event.WrapperServiceActionEvent
                  extended by org.tanukisoftware.wrapper.event.WrapperServicePauseEvent
All Implemented Interfaces:
Serializable

public class WrapperServicePauseEvent
extends WrapperServiceActionEvent

WrapperServicePauseEvents are used to notify the listener that the Wrapper is requesting that the Java application be paused. This does not mean that it should exit, only that it should internally go into an idle state. See the wrapper.pausable and wrapper.pausable.stop_jvm properties for more information.

Since:
Wrapper 3.5.0
Author:
Leif Mortenson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tanukisoftware.wrapper.event.WrapperServiceActionEvent
SOURCE_CODE_COMMAND_BLOCK_TIMEOUT, SOURCE_CODE_COMMANDFILE, SOURCE_CODE_FILTER, SOURCE_CODE_TIMER, SOURCE_CODE_WINDOWS_SERVICE_MANAGER
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WrapperServicePauseEvent(int sourceCode)
          Creates a new WrapperServicePauseEvent.
 
Method Summary
 String toString()
          Returns a string representation of the event.
 
Methods inherited from class org.tanukisoftware.wrapper.event.WrapperServiceActionEvent
getSourceCode
 
Methods inherited from class org.tanukisoftware.wrapper.event.WrapperServiceEvent
getFlags
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrapperServicePauseEvent

public WrapperServicePauseEvent(int sourceCode)
Creates a new WrapperServicePauseEvent.

Parameters:
sourceCode - Source Code specifying where the pause action originated.
Method Detail

toString

public String toString()
Returns a string representation of the event.

Overrides:
toString in class WrapperServiceActionEvent
Returns:
A string representation of the event.


Copyright 1999, 2010 Tanuki Software Inc., All Rights Reserved.