public class IntegrationContext extends java.lang.Object implements MetaDataProperties
ACCESSMODIFIER, CURRENTDISPLAYKEY, CURRENTKEY, CURRENTOBJNUM, DEFAULT, ENDPOINT, ENDPOINTPROPS, ERDATA, IMPORTUSERINFO, INTERNALRESPONSE, IRDATA, ISPREVIEW, JTA, MAXCOUNT, OSFILTER, PRIMARYOBJECT, PROCESSRULES, RUNASLOGINID, SOURCEOBJECT, SOURCETYPE, SYNCRESPONSE, TARGET_OBJECT, TARGETOBJECT, UNIQUEID, USERRESPONSE, WSIOTXN
Modifier and Type | Method and Description |
---|---|
static IntegrationContext |
createCurrentContext()
Creates Integration Context if its not there and returnes it
if no IntegrationContext is assocoated with the current thread.
|
static void |
destroyCurrentContext() |
static IntegrationContext |
getCurrentContext()
Returns Integration Context
|
java.util.Date |
getDateProperty(java.lang.String propName)
Return proprty value for specified property as Date
|
java.lang.Double |
getDoubleProperty(java.lang.String propName)
Return proprty value for specified property as Double
|
java.lang.Integer |
getIntegerProperty(java.lang.String propName)
Return proprty value for specified property as Integer
|
java.lang.Long |
getLongProperty(java.lang.String propName)
Return proprty value for specified property as Long
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
returns Map of all context properties.
|
java.lang.Object |
getProperty(java.lang.String propName)
Return proprty value for specified property
|
java.lang.String |
getStringProperty(java.lang.String propName)
Return proprty value for specified property as string
|
void |
removeProperty(java.lang.String propName)
Removes property
propName . |
void |
setDoubleProperty(java.lang.String propName,
double val)
Sets property with double value
|
void |
setIntegerProperty(java.lang.String propName,
int val)
Sets property with integer value
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> data)
Sets properties from the list
|
void |
setProperty(java.lang.String propName,
java.lang.Object value)
Sets property with any value
|
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public java.lang.Object getProperty(java.lang.String propName)
propName
- property namepublic java.lang.String getStringProperty(java.lang.String propName)
propName
- property namepublic java.lang.Integer getIntegerProperty(java.lang.String propName)
propName
- property namepublic java.lang.Long getLongProperty(java.lang.String propName)
propName
- property namepublic void setIntegerProperty(java.lang.String propName, int val)
propName
- property nameval
- property valuepublic void setDoubleProperty(java.lang.String propName, double val)
propName
- property nameval
- property valuepublic java.lang.Double getDoubleProperty(java.lang.String propName)
propName
- property namepublic java.util.Date getDateProperty(java.lang.String propName)
propName
- property namepublic void setProperty(java.lang.String propName, java.lang.Object value)
propName
- property namevalue
- property valuepublic void removeProperty(java.lang.String propName)
propName
.propName
- name of the property.public void setProperties(java.util.Map<java.lang.String,java.lang.Object> data)
data
- set of properties for the context.public static IntegrationContext getCurrentContext()
public static IntegrationContext createCurrentContext()
create
.public static void destroyCurrentContext()