org.idoox.webservice
Class CallContext

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byorg.idoox.webservice.CallContext
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

Deprecated. See CallContext

public class CallContext
extends java.util.HashMap
implements java.util.Map, java.lang.Cloneable, java.io.Serializable

This class contains all the per-call parameters, for example credentials and other metadata obtained from headers

Since:
1.0
See Also:
Serialized Form
Component:
Core

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
static java.lang.String INSTANCE_ID_KEY
          Deprecated. This key holds the instance ID in the stub context (on the client side) or in the call context (on the server side).
static java.lang.String INVALID_INSTANCE_ID_KEY
          Deprecated. This key holds the invalid instance ID in the stub context (on the client side) or in the call context (on the server side).
static java.lang.String PARAMETER_HANDLER_WEB_SERVICE_CONTEXT
          Deprecated. This key to the CallContextinstance can be used by the parameter handler service to obtain WebServiceContext and instances for the original service to which is the request delivered without the select parameter.
static java.lang.String PARAMETER_HANDLER_WS_CONTEXT
          Deprecated. This key to the CallContextinstance can be used by the parameter handler service to obtain WSContext and instances for the original service to which is the request delivered without the select parameter.
static java.lang.String SET_INSTANCE_ID_KEY
          Deprecated. This key holds the instance ID in the call context (on the server side) in cases when it should be sent back to the client as a setId header.
 
Constructor Summary
CallContext()
          Deprecated. Creates new empty instance of CallContext
CallContext(CallContext newCallCtx)
          Deprecated.  
 
Method Summary
 void clear()
          Deprecated.  
 java.lang.Object clone()
          Deprecated.  
 boolean containsKey(java.lang.Object key)
          Deprecated.  
 boolean containsValue(java.lang.Object value)
          Deprecated.  
 java.util.Set entrySet()
          Deprecated.  
 boolean equals(java.lang.Object o)
          Deprecated.  
 java.lang.Object get(java.lang.Object key)
          Deprecated.  
 java.util.Map getContextData()
          Deprecated. Returns map of additional data associated with given service (common data for all instances of particular service).
static CallContext getInstance()
          Deprecated. Returns CallContext instance associated with actual execution context
 int hashCode()
          Deprecated.  
 boolean isEmpty()
          Deprecated.  
 java.util.Set keySet()
          Deprecated.  
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
          Deprecated.  
 void putAll(java.util.Map t)
          Deprecated.  
 java.lang.Object remove(java.lang.Object key)
          Deprecated.  
 int size()
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 java.util.Collection values()
          Deprecated.  
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PARAMETER_HANDLER_WS_CONTEXT

public static java.lang.String PARAMETER_HANDLER_WS_CONTEXT
Deprecated. 
This key to the CallContextinstance can be used by the parameter handler service to obtain WSContext and instances for the original service to which is the request delivered without the select parameter.


PARAMETER_HANDLER_WEB_SERVICE_CONTEXT

public static java.lang.String PARAMETER_HANDLER_WEB_SERVICE_CONTEXT
Deprecated. 
This key to the CallContextinstance can be used by the parameter handler service to obtain WebServiceContext and instances for the original service to which is the request delivered without the select parameter.


INSTANCE_ID_KEY

public static java.lang.String INSTANCE_ID_KEY
Deprecated. 
This key holds the instance ID in the stub context (on the client side) or in the call context (on the server side).


SET_INSTANCE_ID_KEY

public static java.lang.String SET_INSTANCE_ID_KEY
Deprecated. 
This key holds the instance ID in the call context (on the server side) in cases when it should be sent back to the client as a setId header.


INVALID_INSTANCE_ID_KEY

public static java.lang.String INVALID_INSTANCE_ID_KEY
Deprecated. 
This key holds the invalid instance ID in the stub context (on the client side) or in the call context (on the server side).

Constructor Detail

CallContext

public CallContext()
Deprecated. 
Creates new empty instance of CallContext


CallContext

public CallContext(CallContext newCallCtx)
Deprecated. 
Method Detail

getContextData

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

Returns:
Map of additional data

getInstance

public static CallContext getInstance()
Deprecated. 
Returns CallContext instance associated with actual execution context

Returns:
CallContext instance for actual execution context

size

public int size()
Deprecated. 
Specified by:
size in interface java.util.Map

equals

public boolean equals(java.lang.Object o)
Deprecated. 
Specified by:
equals in interface java.util.Map

hashCode

public int hashCode()
Deprecated. 
Specified by:
hashCode in interface java.util.Map

toString

public java.lang.String toString()
Deprecated. 

isEmpty

public boolean isEmpty()
Deprecated. 
Specified by:
isEmpty in interface java.util.Map

get

public java.lang.Object get(java.lang.Object key)
Deprecated. 
Specified by:
get in interface java.util.Map

containsKey

public boolean containsKey(java.lang.Object key)
Deprecated. 
Specified by:
containsKey in interface java.util.Map

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Deprecated. 
Specified by:
put in interface java.util.Map

putAll

public void putAll(java.util.Map t)
Deprecated. 
Specified by:
putAll in interface java.util.Map

remove

public java.lang.Object remove(java.lang.Object key)
Deprecated. 
Specified by:
remove in interface java.util.Map

clear

public void clear()
Deprecated. 
Specified by:
clear in interface java.util.Map

containsValue

public boolean containsValue(java.lang.Object value)
Deprecated. 
Specified by:
containsValue in interface java.util.Map

clone

public java.lang.Object clone()
Deprecated. 

keySet

public java.util.Set keySet()
Deprecated. 
Specified by:
keySet in interface java.util.Map

values

public java.util.Collection values()
Deprecated. 
Specified by:
values in interface java.util.Map

entrySet

public java.util.Set entrySet()
Deprecated. 
Specified by:
entrySet in interface java.util.Map