com.arjuna.ats.jts.services.transactionserver
Class TransactionServerService

java.lang.Object
  extended by com.arjuna.ats.jts.services.transactionserver.TransactionServerService
All Implemented Interfaces:
org.tanukisoftware.wrapper.WrapperListener

public class TransactionServerService
extends Object
implements org.tanukisoftware.wrapper.WrapperListener


Constructor Summary
TransactionServerService()
           
 
Method Summary
 void controlEvent(int eventCode)
          Passes events to the service
static void main(String[] args)
           
 Integer start(String[] args)
          Called when the service is started.
 int stop(int exitCode)
          Called when the service is being asked to stop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionServerService

public TransactionServerService()
Method Detail

start

public Integer start(String[] args)
Called when the service is started.

Specified by:
start in interface org.tanukisoftware.wrapper.WrapperListener
Parameters:
args - The arguments
Returns:
The exit code to return if the task didn't start successfully, otherwise null.

stop

public int stop(int exitCode)
Called when the service is being asked to stop.

Specified by:
stop in interface org.tanukisoftware.wrapper.WrapperListener
Parameters:
exitCode - The suggested exit code
Returns:
The exit code this service should return.

controlEvent

public void controlEvent(int eventCode)
Passes events to the service

Specified by:
controlEvent in interface org.tanukisoftware.wrapper.WrapperListener
Parameters:
eventCode -

main

public static void main(String[] args)


Copyright © 2011. All Rights Reserved.