|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.binding.soap.listener.incoming.jetty.SoapServer
public class SoapServer
Create a Jetty server that will be the axis2 transportlistener. This Jetty server is used to replace the SimpleHTTPServer provided by axis that have quite bad performances.
| Field Summary | |
|---|---|
protected SoapServerConfig |
config
The component properties |
protected org.apache.axis2.context.ConfigurationContext |
configurationContext
The axis2 configuration context (built from axis2.xml config file) |
static int |
HEADER_BUFFER_SIZE
|
protected org.ow2.petals.ws.notification.WsnIsolationLayer |
isolation
|
protected java.util.logging.Logger |
logger
The logger |
protected org.mortbay.jetty.Server |
server
The Jetty server |
protected ServerStats |
stats
|
protected org.mortbay.thread.BoundedThreadPool |
threadPool
The jetty thread pool. |
| Fields inherited from interface org.apache.axis2.transport.TransportListener |
|---|
HOST_ADDRESS, PARAM_PORT |
| Constructor Summary | |
|---|---|
SoapServer(SoapServerConfig config,
SoapComponentContext componentContext,
java.util.logging.Logger logger)
Creates a new instance of SoapServer |
|
| Method Summary | |
|---|---|
void |
destroy()
|
org.apache.axis2.context.ConfigurationContext |
getConfigurationContext()
|
org.apache.axis2.addressing.EndpointReference |
getEPRForService(java.lang.String serviceName,
java.lang.String ip)
|
org.apache.axis2.addressing.EndpointReference[] |
getEPRsForService(java.lang.String serviceName,
java.lang.String ip)
|
org.apache.axis2.context.SessionContext |
getSessionContext(org.apache.axis2.context.MessageContext messageContext)
|
void |
init(org.apache.axis2.context.ConfigurationContext axisConf,
org.apache.axis2.description.TransportInDescription transprtIn)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.logging.Logger logger
protected org.apache.axis2.context.ConfigurationContext configurationContext
protected SoapServerConfig config
protected org.mortbay.jetty.Server server
protected org.mortbay.thread.BoundedThreadPool threadPool
protected ServerStats stats
public static final int HEADER_BUFFER_SIZE
protected org.ow2.petals.ws.notification.WsnIsolationLayer isolation
| Constructor Detail |
|---|
public SoapServer(SoapServerConfig config,
SoapComponentContext componentContext,
java.util.logging.Logger logger)
throws org.apache.axis2.AxisFault
SoapServer
configContext - config - componentContext - logger -
org.apache.axis2.AxisFault| Method Detail |
|---|
public org.apache.axis2.context.ConfigurationContext getConfigurationContext()
public org.apache.axis2.addressing.EndpointReference getEPRForService(java.lang.String serviceName,
java.lang.String ip)
throws org.apache.axis2.AxisFault
getEPRForService in interface org.apache.axis2.transport.TransportListenerorg.apache.axis2.AxisFault
public org.apache.axis2.addressing.EndpointReference[] getEPRsForService(java.lang.String serviceName,
java.lang.String ip)
throws org.apache.axis2.AxisFault
getEPRsForService in interface org.apache.axis2.transport.TransportListenerorg.apache.axis2.AxisFault
public void init(org.apache.axis2.context.ConfigurationContext axisConf,
org.apache.axis2.description.TransportInDescription transprtIn)
throws org.apache.axis2.AxisFault
init in interface org.apache.axis2.transport.TransportListenerorg.apache.axis2.AxisFault
public void start()
throws org.apache.axis2.AxisFault
start in interface org.apache.axis2.transport.TransportListenerorg.apache.axis2.AxisFault
public void stop()
throws org.apache.axis2.AxisFault
stop in interface org.apache.axis2.transport.TransportListenerorg.apache.axis2.AxisFaultpublic org.apache.axis2.context.SessionContext getSessionContext(org.apache.axis2.context.MessageContext messageContext)
getSessionContext in interface org.apache.axis2.transport.TransportListenerpublic void destroy()
destroy in interface org.apache.axis2.transport.TransportListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||