Context.NonBlockingContext| Constructor and Description |
|---|
NativeCallContext(WorkerExecutionContext parentCtx,
CallableUnitInfo callableUnitInfo,
WorkerData workerLocal) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBlobArgument(int index) |
boolean |
getBooleanArgument(int index) |
CallableUnitInfo |
getCallableUnitInfo() |
DebugContext |
getDebugContext() |
BStruct |
getError() |
double |
getFloatArgument(int index) |
long |
getIntArgument(int index) |
LocalTransactionInfo |
getLocalTransactionInfo() |
WorkerData |
getLocalWorkerData() |
BValue |
getNullableRefArgument(int index) |
String |
getNullableStringArgument(int index) |
WorkerExecutionContext |
getParentWorkerExecutionContext() |
ProgramFile |
getProgramFile() |
Map<String,Object> |
getProperties() |
Object |
getProperty(String key) |
BValue |
getRefArgument(int index) |
BValue[] |
getReturnValues() |
ServiceInfo |
getServiceInfo() |
String |
getStringArgument(int index) |
boolean |
isInTransaction() |
void |
setDebugContext(DebugContext debugContext) |
void |
setError(BStruct error) |
void |
setProperty(String key,
Object value) |
void |
setReturnValues(BValue... values) |
void |
setServiceInfo(ServiceInfo serviceInfo) |
public NativeCallContext(WorkerExecutionContext parentCtx, CallableUnitInfo callableUnitInfo, WorkerData workerLocal)
public WorkerExecutionContext getParentWorkerExecutionContext()
getParentWorkerExecutionContext in interface Contextpublic CallableUnitInfo getCallableUnitInfo()
getCallableUnitInfo in interface Contextpublic WorkerData getLocalWorkerData()
getLocalWorkerData in interface Contextpublic DebugContext getDebugContext()
getDebugContext in interface Contextpublic void setDebugContext(DebugContext debugContext)
setDebugContext in interface Contextpublic Object getProperty(String key)
getProperty in interface Contextpublic Map<String,Object> getProperties()
getProperties in interface Contextpublic void setProperty(String key, Object value)
setProperty in interface Contextpublic ServiceInfo getServiceInfo()
getServiceInfo in interface Contextpublic void setServiceInfo(ServiceInfo serviceInfo)
setServiceInfo in interface Contextpublic boolean isInTransaction()
isInTransaction in interface Contextpublic ProgramFile getProgramFile()
getProgramFile in interface Contextpublic long getIntArgument(int index)
getIntArgument in interface Contextpublic String getStringArgument(int index)
getStringArgument in interface Contextpublic String getNullableStringArgument(int index)
getNullableStringArgument in interface Contextpublic double getFloatArgument(int index)
getFloatArgument in interface Contextpublic boolean getBooleanArgument(int index)
getBooleanArgument in interface Contextpublic byte[] getBlobArgument(int index)
getBlobArgument in interface Contextpublic BValue getRefArgument(int index)
getRefArgument in interface Contextpublic BValue getNullableRefArgument(int index)
getNullableRefArgument in interface Contextpublic BValue[] getReturnValues()
getReturnValues in interface Contextpublic void setReturnValues(BValue... values)
setReturnValues in interface Contextpublic LocalTransactionInfo getLocalTransactionInfo()
getLocalTransactionInfo in interface ContextCopyright © 2018 WSO2. All rights reserved.