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