class IERestService extends IELegacyService
function, iename, parent
agentId, pname, resourceId
cfg, definitionParameters, key, ls, serviceSignature, timeout
Constructor and Description |
---|
IERestService(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.Object |
invoke(AppServerHelper helper,
java.lang.String token,
java.lang.Object[] args)
Invoke this service.
|
getExecutionMode, getParameters
reset, setResourceId
buildDefinitionParameters, getDefinitionParameters, getParser, getProcedureHandle, getRequestID, getSerializer, isPersistent, nextRequestId, resolveModes
public IERestService(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 java.lang.Object invoke(AppServerHelper helper, java.lang.String token, java.lang.Object[] args)
invoke
in class IELegacyService
helper
- 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.