|
||||||||||
| 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 java.util.logging.Logger |
logger
The logger |
protected org.mortbay.jetty.Server |
server
The Jetty server |
protected ServerStats |
stats
The Jetty server statistics |
protected org.mortbay.thread.BoundedThreadPool |
threadPool
The Jetty thread pool. |
| Constructor Summary | |
|---|---|
SoapServer(SoapServerConfig config,
SoapComponentContext componentContext,
java.util.logging.Logger logger)
Creates a new instance of SoapServer |
|
| Method Summary | |
|---|---|
void |
addRedirect(java.lang.String from,
java.lang.String to)
Redirect specified URI to the specified web service address |
void |
removeRedirect(java.lang.String from)
|
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
| 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 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 addRedirect(java.lang.String from,
java.lang.String to)
from - The URI to redirectto - The serviceName or address of the destination servicepublic void removeRedirect(java.lang.String from)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||