public class ResourceExecutor extends Object
ResourceExecutor
This provides the implementation to execute resources within Ballerina.Constructor and Description |
---|
ResourceExecutor() |
Modifier and Type | Method and Description |
---|---|
static void |
execute(Resource resource,
CallableUnitCallback responseCallback,
Map<String,Object> properties,
ObserverContext observerContext,
WorkerExecutionContext context,
BValue... bValues)
This method will execute the resource, given required details.
|
public static void execute(Resource resource, CallableUnitCallback responseCallback, Map<String,Object> properties, ObserverContext observerContext, WorkerExecutionContext context, BValue... bValues) throws BallerinaConnectorException
resource
- to be executed.responseCallback
- to notify.properties
- to be passed to context.observerContext
- observer context.context
- worker execution context.bValues
- for parameters.BallerinaConnectorException
Copyright © 2018 WSO2. All rights reserved.