org.idoox.wasp.server
Class WSContext

java.lang.Object
  extended byorg.idoox.wasp.server.WSContext
All Implemented Interfaces:
ServiceEndpointContext

Deprecated. See the new Runtime Publishing API (ServiceEndpointContext).

public abstract class WSContext
extends java.lang.Object
implements ServiceEndpointContext

Contains service endpoint, is associated with a particular ClassSpace, and represents a whole communication channel starting at interceptors, and ending at the Adaptor instance. Also, the context determines the web path of the service endpoint and some other context attributes.

Since:
4.0
Component:
Core

Field Summary
static java.lang.String SERVICE_CONTEXT_SERVICE_INFO_MAP
          Deprecated. The key for accessing SOAPServiceInfo structure.
 
Fields inherited from interface org.systinet.wasp.webservice.ServiceEndpointContext
WSDL_BINDING_STYLE, WSDL_ENCODING_URI
 
Constructor Summary
WSContext()
          Deprecated.  
 
Method Summary
abstract  java.lang.ClassLoader getClassLoader()
          Deprecated. Returns context class loader, which is used to load the service implemenation classes for this context.
abstract  java.util.Map getContextData()
          Deprecated. Returns map of additional data associated with given service (common data for all instances of particular service).
abstract  ClientStubConfiguration getDefaultClientConfiguration()
          Deprecated. Shortcut function for getting the default stub configuration of the current service.
abstract  ServiceEndpointConfiguration getEndpointConfiguration()
          Deprecated. Shortcut function for getting the configuration of the current service.
static WSContext getInstance()
          Deprecated. Returns instance of the WSContext for the current execution environment.
abstract  LifeCycleService getLifeCycleService()
          Deprecated. Returns life cycle service of this service endpoint.
abstract  java.lang.String getPath()
          Deprecated. Returns the path of the service endpoint.
abstract  WebServiceContext getServiceInstance()
          Deprecated. Returns the WebServiceContext of the service instance for which the current WSContext represents a service.
abstract  org.idoox.wasp.server.WSRegistry getWSRegistry()
          Deprecated. Returns an instance of WSRegistry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.systinet.wasp.webservice.ServiceEndpointContext
getServiceEndpoint
 

Field Detail

SERVICE_CONTEXT_SERVICE_INFO_MAP

public static final java.lang.String SERVICE_CONTEXT_SERVICE_INFO_MAP
Deprecated. 
The key for accessing SOAPServiceInfo structure.

See Also:
Constant Field Values
Constructor Detail

WSContext

public WSContext()
Deprecated. 
Method Detail

getWSRegistry

public abstract org.idoox.wasp.server.WSRegistry getWSRegistry()
Deprecated. 
Returns an instance of WSRegistry.

Returns:
an instance of WSRegistry

getPath

public abstract java.lang.String getPath()
Deprecated. 
Returns the path of the service endpoint.

Returns:
the path

getClassLoader

public abstract java.lang.ClassLoader getClassLoader()
Deprecated. 
Returns context class loader, which is used to load the service implemenation classes for this context.

Returns:
context's class loader

getInstance

public static WSContext getInstance()
Deprecated. 
Returns instance of the WSContext for the current execution environment.

Returns:
instance of the WSContext

getServiceInstance

public abstract WebServiceContext getServiceInstance()
Deprecated. 
Returns the WebServiceContext of the service instance for which the current WSContext represents a service.


getEndpointConfiguration

public abstract ServiceEndpointConfiguration getEndpointConfiguration()
Deprecated. 
Shortcut function for getting the configuration of the current service.


getDefaultClientConfiguration

public abstract ClientStubConfiguration getDefaultClientConfiguration()
Deprecated. 
Shortcut function for getting the default stub configuration of the current service.


getContextData

public abstract java.util.Map getContextData()
Deprecated. 
Returns map of additional data associated with given service (common data for all instances of particular service).

Specified by:
getContextData in interface ServiceEndpointContext
Returns:
Map of additional data

getLifeCycleService

public abstract LifeCycleService getLifeCycleService()
Deprecated. 
Returns life cycle service of this service endpoint.

Returns:
life cycle service