Package | Description |
---|---|
org.ballerinalang.connector.api | |
org.ballerinalang.connector.impl |
Modifier and Type | Method and Description |
---|---|
Resource[] |
Service.getResources()
This method will return Resources associated with the service as a array.
|
Modifier and Type | Method and Description |
---|---|
static void |
Executor.submit(Resource resource,
CallableUnitCallback responseCallback,
Map<String,Object> properties,
ObserverContext observerContext,
BValue... values)
This method will execute Ballerina resource in non-blocking manner.
|
static void |
Executor.submit(Resource resource,
CallableUnitCallback responseCallback,
Map<String,Object> properties,
ObserverContext observerContext,
WorkerExecutionContext context,
BValue... values)
This method will execute Ballerina resource in non-blocking manner.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceImpl
ResourceImpl This is the implementation for the Resource API. |
Modifier and Type | Method and Description |
---|---|
Resource[] |
ServiceImpl.getResources() |
Modifier and Type | Method and Description |
---|---|
void |
ServiceImpl.addResource(String name,
Resource resource) |
static void |
ResourceExecutor.execute(Resource resource,
CallableUnitCallback responseCallback,
Map<String,Object> properties,
ObserverContext observerContext,
WorkerExecutionContext context,
BValue... bValues)
This method will execute the resource, given required details.
|
Copyright © 2018 WSO2. All rights reserved.