org.objectweb.jotm
Class Main

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.objectweb.jotm.Main
All Implemented Interfaces:
Runnable

public class Main
extends Thread

This class is used to start JOTM as a standalone transaction manager.

Author:
Christophe Ney - Lutris Technologies cney@batisseurs.com Created on Feb 26, 2002

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Main()
           
 
Method Summary
static void main(String[] args)
          Used to start JOTM from a command line interface.
static void printHelp(org.apache.commons.cli.Options cmdLineOptions)
           
 void run()
          used as shutdown hook
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

run

public void run()
used as shutdown hook

Specified by:
run in interface Runnable
Overrides:
run in class Thread

printHelp

public static void printHelp(org.apache.commons.cli.Options cmdLineOptions)

main

public static void main(String[] args)
Used to start JOTM from a command line interface.

Parameters:
args - JOTM arguments