public class ServiceCallTask
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ServiceCallTask.ServiceCallTaskGui |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_METHOD
Property for method name.
|
static java.lang.String |
PROPERTY_RANKING
Property for ranking class name.
|
static java.lang.String |
PROPERTY_SERVICE
Property for service name.
|
Constructor and Description |
---|
ServiceCallTask() |
Modifier and Type | Method and Description |
---|---|
IFuture<java.lang.Void> |
cancel(IInternalAccess instance)
Cancel the task.
|
IFuture<java.lang.Void> |
execute(ITaskContext context,
IInternalAccess process)
Execute the task.
|
static java.util.List<ParameterMetaInfo> |
getExtraParameters(java.util.Map<java.lang.String,MProperty> params,
IModelContainer modelcontainer,
java.lang.ClassLoader cl)
Get the extra parameters that depend on the property settings of the task.
|
protected IFuture<java.lang.Void> |
invokeService(IInternalAccess process,
java.lang.String fmethod,
java.lang.String fservice,
java.lang.String fresultparam,
java.util.List<java.lang.Object> args,
ITaskContext context,
java.lang.Object service,
java.lang.reflect.Method m)
Invoke the service.
|
public static final java.lang.String PROPERTY_SERVICE
public static final java.lang.String PROPERTY_METHOD
public static final java.lang.String PROPERTY_RANKING
public IFuture<java.lang.Void> execute(ITaskContext context, IInternalAccess process)
context
- The accessible values.process
- The process instance executing the task.protected IFuture<java.lang.Void> invokeService(IInternalAccess process, java.lang.String fmethod, java.lang.String fservice, java.lang.String fresultparam, java.util.List<java.lang.Object> args, ITaskContext context, java.lang.Object service, java.lang.reflect.Method m)
public IFuture<java.lang.Void> cancel(IInternalAccess instance)
public static java.util.List<ParameterMetaInfo> getExtraParameters(java.util.Map<java.lang.String,MProperty> params, IModelContainer modelcontainer, java.lang.ClassLoader cl)