org.wso2.wsas
Class Main

java.lang.Object
  extended byorg.wso2.wsas.Main
All Implemented Interfaces:
Restartable

public class Main
extends java.lang.Object
implements Restartable

The main class of the WSO2 WSAS standalone distribution


Field Summary
static java.lang.String COMMAND_HELP
           
static java.lang.String COMMAND_RESTART
           
static java.lang.String COMMAND_RUN
           
static java.lang.String COMMAND_START
           
static java.lang.String COMMAND_STATUS
           
static java.lang.String COMMAND_STOP
           
static java.lang.Thread shutdownHookThread
           
static XmlConfiguration xmlConfiguration
           
 
Constructor Summary
Main()
           
Main(org.wso2.wsf.common.util.ServerConfiguration serverConfiguration)
           
 
Method Summary
 java.lang.String getAxis2RepoLocation()
           
 org.apache.axis2.context.ConfigurationContext getConfigContext()
           
static void main(java.lang.String[] args)
           
 void restartServer()
           
 void setAxis2RepoLocation(java.lang.String axis2RepoLocation)
           
 void setMonitor(Monitor m)
           
 void setTestMode(boolean isTestMode)
           
 void shutdown()
           
 void startServer()
           
 void status()
           
 void stop()
           
 void stopListeners()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMAND_START

public static final java.lang.String COMMAND_START
See Also:
Constant Field Values

COMMAND_RESTART

public static final java.lang.String COMMAND_RESTART
See Also:
Constant Field Values

COMMAND_STOP

public static final java.lang.String COMMAND_STOP
See Also:
Constant Field Values

COMMAND_RUN

public static final java.lang.String COMMAND_RUN
See Also:
Constant Field Values

COMMAND_STATUS

public static final java.lang.String COMMAND_STATUS
See Also:
Constant Field Values

COMMAND_HELP

public static final java.lang.String COMMAND_HELP
See Also:
Constant Field Values

shutdownHookThread

public static java.lang.Thread shutdownHookThread

xmlConfiguration

public static XmlConfiguration xmlConfiguration
Constructor Detail

Main

public Main()

Main

public Main(org.wso2.wsf.common.util.ServerConfiguration serverConfiguration)
Method Detail

startServer

public void startServer()
Specified by:
startServer in interface Restartable

setTestMode

public void setTestMode(boolean isTestMode)

stop

public void stop()
          throws java.io.IOException,
                 org.wso2.wsf.common.ServerException
Throws:
java.io.IOException
org.wso2.wsf.common.ServerException

status

public void status()
            throws java.io.IOException
Throws:
java.io.IOException

shutdown

public void shutdown()
              throws org.wso2.wsf.common.ServerException
Throws:
org.wso2.wsf.common.ServerException

main

public static void main(java.lang.String[] args)

getAxis2RepoLocation

public java.lang.String getAxis2RepoLocation()

setAxis2RepoLocation

public void setAxis2RepoLocation(java.lang.String axis2RepoLocation)
Specified by:
setAxis2RepoLocation in interface Restartable

getConfigContext

public org.apache.axis2.context.ConfigurationContext getConfigContext()

setMonitor

public void setMonitor(Monitor m)
Specified by:
setMonitor in interface Restartable

stopListeners

public void stopListeners()
                   throws org.wso2.wsf.common.ServerException
Specified by:
stopListeners in interface Restartable
Throws:
org.wso2.wsf.common.ServerException

restartServer

public void restartServer()
                   throws org.wso2.wsf.common.ServerException
Specified by:
restartServer in interface Restartable
Throws:
org.wso2.wsf.common.ServerException