Class TransactionServerService
java.lang.Object
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
-
Method Summary
-
Constructor Details
-
TransactionServerService
public TransactionServerService()
-
-
Method Details
-
start
Called when the service is started.- Specified by:
start
in interfaceorg.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 interfaceorg.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 interfaceorg.tanukisoftware.wrapper.WrapperListener
- Parameters:
eventCode
-
-
main
-