org.globus.ogsa.server
Class ServiceContainer
java.lang.Object
org.globus.ogsa.server.ServiceContainer
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- GSIServiceContainer
- public class ServiceContainer
- extends java.lang.Object
- implements java.lang.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
CLASS
public static final java.lang.String CLASS
- See Also:
- Constant Field Values
PORT
public static final java.lang.String PORT
- See Also:
- Constant Field Values
MAIN_THREAD
public static final java.lang.String MAIN_THREAD
- See Also:
- Constant Field Values
THREADS
public static final java.lang.String THREADS
- See Also:
- Constant Field Values
url
protected java.net.URL url
dispatcher
protected ServiceDispatcher dispatcher
ServiceContainer
protected ServiceContainer()
ServiceContainer
public ServiceContainer(java.util.Map properties)
throws GridServiceException
createContainer
public static ServiceContainer createContainer(boolean isMainThread)
throws GridServiceException
- Throws:
GridServiceException
createContainer
public static ServiceContainer createContainer(boolean isMainThread,
int port)
throws GridServiceException
- Throws:
GridServiceException
createContainer
public static ServiceContainer createContainer(java.util.Map properties)
throws GridServiceException
- Throws:
GridServiceException
getPort
public int getPort()
getHost
public java.lang.String getHost()
getURLString
public java.lang.String getURLString()
getURL
public java.net.URL getURL()
stopServer
public void stopServer()
throws GridServiceException
- Throws:
GridServiceException
waitForInit
public void waitForInit()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
waitForStop
public void waitForStop()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
getEngine
public org.apache.axis.AxisEngine getEngine()
throws ConfigException
- Throws:
ConfigException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
main
public static void main(java.lang.String[] args)
startSecurityContainer
public static ServiceContainer startSecurityContainer(boolean secure,
int securePort,
org.ietf.jgss.GSSCredential credential,
org.globus.security.gridmap.GridMap gridMap)
throws GridServiceException
- Throws:
GridServiceException
Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.