org.wso2.wsas.transport.jetty
Class JettyServer

java.lang.Object
  extended byorg.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.


Field Summary
protected  org.apache.axis2.context.ConfigurationContext configurationContext
           
 
Constructor Summary
JettyServer(org.apache.axis2.context.ConfigurationContext systemContext, int httpPort)
           
 
Method Summary
 java.lang.String getAdminWebRoot()
           
 org.apache.axis2.context.ConfigurationContext getConfigurationContext()
           
 org.apache.axis2.context.ConfigurationContext getSystemContext()
          Method getSystemContext
 void setAdminWebRoot(java.lang.String adminWebRoot)
           
 void start()
          Start this server as a NON-daemon.
 void stop()
          Stop this server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configurationContext

protected org.apache.axis2.context.ConfigurationContext configurationContext
Constructor Detail

JettyServer

public JettyServer(org.apache.axis2.context.ConfigurationContext systemContext,
                   int httpPort)
Method Detail

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)