|
||||||||||
| 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.AxisServletServer
public class AxisServletServer
Create a Jetty server that will be the Axis 2 transport listener. This Jetty server is used to replace the SimpleHTTPServer provided by Axis that have quite bad performances.
| Constructor Summary | |
|---|---|
AxisServletServer(java.util.logging.Logger logger,
SoapServerConfig config,
org.apache.axis2.context.ConfigurationContext configContext)
Create a SOAP server |
|
| Method Summary | |
|---|---|
void |
addRedirect(java.lang.String from,
java.lang.String to)
Redirect specified URI to the specified web service address |
void |
addServlet(javax.servlet.http.HttpServlet servlet)
|
boolean |
isRunning()
Return if the SOAP server is running |
void |
removeRedirect(java.lang.String from)
Remove the redirection |
void |
start()
Start the SOAP server |
void |
stop()
Stop the SOAP server |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AxisServletServer(java.util.logging.Logger logger,
SoapServerConfig config,
org.apache.axis2.context.ConfigurationContext configContext)
throws org.apache.axis2.AxisFault
logger - the loggerconfig - the SOAP server configurationconfigContext - Axis 2 configuration context
org.apache.axis2.AxisFault - impossible to set Jetty as SOAP transport listener| Method Detail |
|---|
public void start()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault - the SOAP server can not start
public void stop()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault - the SOAP server can not stoppublic boolean isRunning()
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)
from - the URL to redirectpublic void addServlet(javax.servlet.http.HttpServlet servlet)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||