com.irisel.oms.olapi.beans
Class SvcContext
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<java.lang.String,java.lang.Object>
com.irisel.oms.olapi.beans.SvcContext
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
public class SvcContext
- extends java.util.LinkedHashMap<java.lang.String,java.lang.Object>
- implements java.io.Serializable
- Author:
- Jose Manuel Gomez Alvarez
- See Also:
HashMap
,
Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Methods inherited from class java.util.LinkedHashMap |
clear, containsValue, get |
Methods inherited from class java.util.HashMap |
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
PARAM_ACTION_ITEM
public static final java.lang.String PARAM_ACTION_ITEM
- See Also:
- Constant Field Values
PARAM_USER
public static final java.lang.String PARAM_USER
- See Also:
- Constant Field Values
PARAM_RETURN_CODE
public static final java.lang.String PARAM_RETURN_CODE
- See Also:
- Constant Field Values
PARAM_RETURN_MESSAGE
public static final java.lang.String PARAM_RETURN_MESSAGE
- See Also:
- Constant Field Values
PARAM_SVCNAME
public static final java.lang.String PARAM_SVCNAME
- See Also:
- Constant Field Values
PARAM_CLSNAME
public static final java.lang.String PARAM_CLSNAME
- See Also:
- Constant Field Values
PARAM_SESSION
public static final java.lang.String PARAM_SESSION
- See Also:
- Constant Field Values
RC_SUCCESS
public static final int RC_SUCCESS
- See Also:
- Constant Field Values
RC_ERROR
public static final int RC_ERROR
- See Also:
- Constant Field Values
SvcContext
public SvcContext(java.lang.Object[] args)
SvcContext
public SvcContext()
map2context
public static SvcContext map2context(java.util.Map<java.lang.String,java.io.Serializable> map)
fromXMLBean
public static SvcContext fromXMLBean(XMLBean b)
toXMLBean
public XMLBean toXMLBean()
getArguments
public java.lang.Object[] getArguments()
- Extract arguments as object array
Arguments are identified because the entry key is an integer between 1 and 99
e.g. "0","1","2",...
setArguments
public void setArguments(java.lang.Object[] args)
deserial
public static SvcContext deserial(byte[] context)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
serialize
public byte[] serialize()