|
||||||||||
| 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 Logger |
logger
The logger |
protected org.mortbay.jetty.Server |
server
The Jetty server |
protected ServerStats |
stats
The Jetty server statistics |
| Constructor Summary | |
|---|---|
SoapServer(SoapServerConfig config,
SoapComponentContext componentContext,
org.ow2.petals.probes.CounterProbe probeUnknownServlet,
org.ow2.petals.probes.CounterProbe probeInformationServlet,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolAllocatedThreads,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolIdleThreads,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolQueuedRequests,
org.ow2.petals.probes.KeyedCounterProbeWithExecutionStatus<IncomingServiceKey> probeHttpRequestsInvocationsCount,
org.ow2.petals.probes.KeyedResponseTimeProbe<IncomingServiceKey> probeHttpRequestsInvocationsResponseTime,
Logger logger)
Creates a new instance of SoapServer |
|
| Method Summary | |
|---|---|
void |
addRedirect(String from,
String to)
Redirect specified URI to the specified web service address |
org.mortbay.thread.BoundedThreadPool |
getThreadPool()
|
void |
removeRedirect(String from)
|
void |
shutdown()
|
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 Logger logger
protected org.apache.axis2.context.ConfigurationContext configurationContext
protected SoapServerConfig config
protected org.mortbay.jetty.Server server
protected ServerStats stats
public static final int HEADER_BUFFER_SIZE
| Constructor Detail |
|---|
public SoapServer(SoapServerConfig config,
SoapComponentContext componentContext,
org.ow2.petals.probes.CounterProbe probeUnknownServlet,
org.ow2.petals.probes.CounterProbe probeInformationServlet,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolAllocatedThreads,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolIdleThreads,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolQueuedRequests,
org.ow2.petals.probes.KeyedCounterProbeWithExecutionStatus<IncomingServiceKey> probeHttpRequestsInvocationsCount,
org.ow2.petals.probes.KeyedResponseTimeProbe<IncomingServiceKey> probeHttpRequestsInvocationsResponseTime,
Logger logger)
throws org.apache.axis2.AxisFault
SoapServer
configContext - config - componentContext - probeUnknownServlet - The probe counting unknown URLs received by the Jetty server.probeInformationServlet - The probe counting unknown URLs received by the Jetty server.probeHttpServerThreadPoolAllocatedThreads - The probe counting allocated threads in the thread pool of the
HTTP server.probeHttpServerThreadPoolIdleThreads - The probe counting idle threads in the thread pool of the HTTP
server.probeHttpServerThreadPoolQueuedRequests - The probe counting requests in the queue of the thread pool of
the HTTP server.probeHttpRequestsInvocationsCount - The probe counting service invocation by web-service,
web-service client and execution status, received by the Jetty
server.probeHttpRequestsInvocationsResponseTime - The probe measuring the response time of service invocation by
web-service, web-service client and execution status, received
by the Jetty server.logger -
org.apache.axis2.AxisFault| Method Detail |
|---|
public void start()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void stop()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void shutdown()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void addRedirect(String from,
String to)
from - The URI to redirectto - The serviceName or address of the destination servicepublic void removeRedirect(String from)
public org.mortbay.thread.BoundedThreadPool getThreadPool()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||