public abstract class BlockingNativeCallableUnit extends Object implements NativeCallableUnit
{@link AbstractNativeCallableUnit} represents an abstract implementation of
functions and actions.| Constructor and Description |
|---|
BlockingNativeCallableUnit() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(Context context) |
void |
execute(Context context,
CallableUnitCallback callback)
Executes the implementation of the callable unit.
|
boolean |
isBlocking()
Returns whether this callable unit is executed in blocking manner or not.
|
public abstract void execute(Context context)
public void execute(Context context, CallableUnitCallback callback)
NativeCallableUnitAbstractNativeCallableUnit
should implement the execute method.execute in interface NativeCallableUnitcontext - Current context instancecallback - Callback to return the response valuespublic boolean isBlocking()
isBlocking in interface NativeCallableUnitCopyright © 2018 WSO2. All rights reserved.