org.wso2.wsas.transport.jetty
Class JettyServer
java.lang.Object
org.wso2.wsas.transport.jetty.JettyServer
- public class JettyServer
- extends java.lang.Object
This is an implementation of a transport listener based on MortBay Jetty
6.0.1 distribution.
Constructor Summary |
JettyServer(org.apache.axis2.context.ConfigurationContext systemContext,
int httpPort)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configurationContext
protected org.apache.axis2.context.ConfigurationContext configurationContext
JettyServer
public JettyServer(org.apache.axis2.context.ConfigurationContext systemContext,
int httpPort)
start
public void start()
throws org.apache.axis2.AxisFault
- Start this server as a NON-daemon.
- Throws:
org.apache.axis2.AxisFault
stop
public void stop()
throws org.apache.axis2.AxisFault
- Stop this server. Can be called safely if the system is already stopped,
or if it was never started. This will interrupt any pending accept().
- Throws:
org.apache.axis2.AxisFault
getSystemContext
public org.apache.axis2.context.ConfigurationContext getSystemContext()
- Method getSystemContext
- Returns:
- the system context
getConfigurationContext
public org.apache.axis2.context.ConfigurationContext getConfigurationContext()
getAdminWebRoot
public java.lang.String getAdminWebRoot()
setAdminWebRoot
public void setAdminWebRoot(java.lang.String adminWebRoot)