public abstract class IELegacyService extends ProgRestService
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
function
Flag identifying if we are invoking a function.
|
protected java.lang.String |
iename
The internal entry name.
|
protected LegacyService |
parent
The annotation at the service resource (i.e.
|
agentId, pname, resourceIdcfg, definitionParameters, key, ls, serviceSignature, timeout| Constructor and Description |
|---|
IELegacyService(LegacyService ls,
java.lang.String pname,
LegacyService iels,
InternalEntry ie,
boolean function,
ServiceKey key,
int timeout)
Initialize with the details for an internal entry invocation.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExecutionMode()
Get the execution mode for this service.
|
protected java.util.List<Parameter> |
getParameters()
Get the
Parameters as they are defined at the internal entry. |
abstract java.lang.Object |
invoke(AppServerHelper helper,
java.lang.String token,
java.lang.Object[] args)
Invoke this service.
|
reset, setResourceIdbuildDefinitionParameters, getDefinitionParameters, getParser, getProcedureHandle, getRequestID, getSerializer, isPersistent, nextRequestId, resolveModesprotected final java.lang.String iename
protected final boolean function
protected final LegacyService parent
public IELegacyService(LegacyService ls, java.lang.String pname, LegacyService iels, InternalEntry ie, boolean function, ServiceKey key, int timeout)
ls - The annotation at the Java class (defining the resource).pname - The external program name.iels - The annotation at the Java method (defining the operation).ie - The target InternalEntry for this service.function - Flag identifying if we are invoking a function.key - The service key.timeout - The invocation timeout.public abstract java.lang.Object invoke(AppServerHelper helper, java.lang.String token, java.lang.Object[] args)
invoke in class ProgRestServicehelper - The appserver helper used to execute the requests.token - When not null, it represents the token of a FWD context created for an authenticated and
authorized web service call. The API call will be performed in that context.args - The arguments.public java.lang.String getExecutionMode()
getExecutionMode in class RestServiceprotected java.util.List<Parameter> getParameters()
Parameters as they are defined at the internal entry.getParameters in class ProgRestService