|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.resource.webapp.WsrfServer
A standalone WSRF server that uses Jetty as the HTTP server and servlet container and uses Axis as the SOAP engine.
Field Summary | |
protected static org.apache.commons.cli.Options |
CMD_LINE_OPTIONS
DOCUMENT_ME |
Constructor Summary | |
WsrfServer(java.io.File webappPath)
Creates a WsrfServer for running the specified web application. |
Method Summary | |
int |
getPort()
Gets the HTTP listen port. |
java.io.File |
getWebappPath()
Gets the webapp path. |
static void |
main(java.lang.String[] args)
A main method for starting a server instance. |
void |
setPort(int port)
Sets the HTTP listen port. |
void |
start()
Starts the server. |
void |
stop()
Stops the server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final org.apache.commons.cli.Options CMD_LINE_OPTIONS
Constructor Detail |
public WsrfServer(java.io.File webappPath) throws java.io.IOException
webappPath
- the path to an Apache-WSRF-based webapp (directory or warfile)
java.io.IOException
- if the webapp path is invalidMethod Detail |
public void setPort(int port)
port
- the port numberpublic int getPort()
public java.io.File getWebappPath()
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- command-line arguments
java.lang.Exception
- on any errorpublic void start() throws org.mortbay.util.MultiException
org.mortbay.util.MultiException
public void stop() throws java.lang.InterruptedException
java.lang.InterruptedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |