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 |
---|---|
void |
addIntegrationMboCount() |
static IntegrationContext |
createCurrentContext()
Creates Integration Context if its not there and returnes it
if no IntegrationContext is assocoated with the current thread.
|
java.lang.String |
dbConnInfo() |
static void |
destroyCurrentContext() |
java.lang.String |
dumpDbConnectionTrace() |
java.lang.String |
getAPICsrfToken() |
boolean |
getBooleanProperty(java.lang.String propName,
boolean dflt)
Return proprty value for specified property as Integer
|
java.util.Map |
getBranchFilter() |
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
|
UserInfo |
getProcessUserInfo() |
java.util.Map |
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
|
boolean |
isAPICall() |
boolean |
isGQLCall() |
boolean |
isInteractive() |
boolean |
isMonitorTokenAPICall() |
boolean |
isStackTraceConnections() |
boolean |
isTraceConnections() |
void |
removeProperty(java.lang.String propName)
Removes property
propName . |
void |
setAPICall() |
void |
setAPICsrfToken(java.lang.String csrfToken) |
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 |
setInteractive(boolean b) |
void |
setLongProperty(java.lang.String propName,
long val)
Sets property with integer value
|
void |
setProcessUserInfo(UserInfo userInfo) |
void |
setProperties(java.util.Map data)
Sets properties from the list
|
void |
setProperty(java.lang.String propName,
java.lang.Object value)
Sets property with any value
|
void |
setupBranchFilter(java.lang.String name,
java.lang.Long id) |
void |
softClearContext() |
void |
stackTraceConnection() |
void |
traceConnection() |
void |
updateConRefCount(ConnectionKeyLight conKey,
boolean inc,
java.lang.StackTraceElement[] stackTrace) |
public boolean isAPICall()
public boolean isGQLCall()
public boolean isTraceConnections()
public boolean isStackTraceConnections()
public void traceConnection()
public void stackTraceConnection()
public boolean isMonitorTokenAPICall()
public java.lang.String getAPICsrfToken()
public void setAPICsrfToken(java.lang.String csrfToken)
public void setupBranchFilter(java.lang.String name, java.lang.Long id)
public java.util.Map getBranchFilter()
public void setAPICall()
public java.util.Map 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 boolean getBooleanProperty(java.lang.String propName, boolean dflt)
propName
- property namepublic java.lang.Long getLongProperty(java.lang.String propName)
propName
- property namepublic void setLongProperty(java.lang.String propName, long val)
propName
- property nameval
- property valuepublic 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 data)
data
- set of properties for the context.public static IntegrationContext getCurrentContext()
public static IntegrationContext createCurrentContext()
create
.public static void destroyCurrentContext()
public void softClearContext()
public void setInteractive(boolean b)
public boolean isInteractive()
public void updateConRefCount(ConnectionKeyLight conKey, boolean inc, java.lang.StackTraceElement[] stackTrace)
public java.lang.String dbConnInfo()
public java.lang.String dumpDbConnectionTrace()
public UserInfo getProcessUserInfo()
public void setProcessUserInfo(UserInfo userInfo)
public void addIntegrationMboCount()