org.ofbiz.base.start
Class Start

java.lang.Object
  extended by org.ofbiz.base.start.Start

public final class Start
extends java.lang.Object

OFBiz startup class.


Nested Class Summary
static class Start.ServerState
           
 
Constructor Summary
Start()
          DO NOT REMOVE: This method is needed by commons-daemon in reflection mode.
 
Method Summary
 void destroy()
           
 Start.ServerState getCurrentState()
          Returns the server's current state.
static Start getInstance()
          Returns the Start instance.
 void init(java.lang.String[] args)
           
static void main(java.lang.String[] args)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Start

public Start()
DO NOT REMOVE: This method is needed by commons-daemon in reflection mode.

Method Detail

getInstance

public static Start getInstance()
Returns the Start instance.


main

public static void main(java.lang.String[] args)
                 throws StartupException
Throws:
StartupException

getCurrentState

public Start.ServerState getCurrentState()
Returns the server's current state.


init

public void init(java.lang.String[] args)
          throws StartupException
Throws:
StartupException

destroy

public void destroy()

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()