org.globus.wsrf.container
Class ServiceContainer
java.lang.Object
org.globus.wsrf.container.ServiceContainer
- All Implemented Interfaces:
- Runnable
- public class ServiceContainer
- extends Object
- implements Runnable
Http Server that can be used in embedded or standalone mode to host
Axis services.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
PORT
public static final String PORT
- See Also:
- Constant Field Values
MAIN_THREAD
public static final String MAIN_THREAD
- See Also:
- Constant Field Values
THREADS
public static final String THREADS
- See Also:
- Constant Field Values
SERVER_CONFIG
public static final String SERVER_CONFIG
- See Also:
- Constant Field Values
url
protected URL url
dispatcher
protected ServiceDispatcher dispatcher
properties
protected Map properties
ServiceContainer
public ServiceContainer(Map properties)
throws IOException
createContainer
public static ServiceContainer createContainer(boolean isMainThread)
throws IOException
- Throws:
IOException
createContainer
public static ServiceContainer createContainer(boolean isMainThread,
int port)
throws IOException
- Throws:
IOException
createContainer
public static ServiceContainer createContainer(Map properties)
throws IOException
- Throws:
IOException
stop
public void stop()
throws IOException
- Throws:
IOException
isRunning
public boolean isRunning()
getPort
public int getPort()
getHost
public String getHost()
getURLString
public String getURLString()
getURL
public URL getURL()
waitForInit
public void waitForInit()
throws InterruptedException
- Throws:
InterruptedException
waitForStop
public void waitForStop()
throws InterruptedException
- Throws:
InterruptedException
getEngine
public AxisEngine getEngine()
throws ConfigException
- Throws:
ConfigException
run
public void run()
- Specified by:
run in interface Runnable
main
public static void main(String[] args)
Copyright ? 1999-2003 University of Chicago and The University of Southern California. All rights reserved.