public class ExecutionContext
extends java.lang.Object
implements java.io.Serializable
ExecutionContext
class provides information about the
execution of an API method invocation.
It consists of
Modifier and Type | Class and Description |
---|---|
static class |
ExecutionContext.ApplicationData
Immutable class representing additional application specific data
associated with the request for method execution represented by this
ExecutionContext . |
static class |
ExecutionContext.Builder |
static class |
ExecutionContext.RuntimeData
This class contains data and settings related to the execution of the
invocation by the vAPI runtime, protocol and transport.
|
static interface |
ExecutionContext.SecurityContext
Implementations of this interface will provide all needed data for
authentication for the given invocation.
|
Modifier and Type | Field and Description |
---|---|
static ExecutionContext |
EMPTY
Empty context
|
Constructor and Description |
---|
ExecutionContext()
Default constructor.
|
ExecutionContext(ExecutionContext.ApplicationData wireData,
ExecutionContext.SecurityContext securityContext)
Constructor.
|
ExecutionContext(ExecutionContext.ApplicationData wireData,
ExecutionContext.SecurityContext securityContext,
ExecutionContext.RuntimeData runtimeData)
Constructor.
|
ExecutionContext(ExecutionContext.SecurityContext securityContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext.ApplicationData |
retrieveApplicationData() |
ExecutionContext.RuntimeData |
retrieveRuntimeData() |
ExecutionContext.SecurityContext |
retrieveSecurityContext() |
public static final ExecutionContext EMPTY
public ExecutionContext()
ExecutionContext
.
Use EMPTY
when distinct instance is not
required.
public ExecutionContext(ExecutionContext.SecurityContext securityContext)
securityContext
- may be null
public ExecutionContext(ExecutionContext.ApplicationData wireData, ExecutionContext.SecurityContext securityContext)
wireData
- may be null
securityContext
- may be null
public ExecutionContext(ExecutionContext.ApplicationData wireData, ExecutionContext.SecurityContext securityContext, ExecutionContext.RuntimeData runtimeData)
wireData
- may be null
securityContext
- may be null
runtimeData
- may be null
public ExecutionContext.ApplicationData retrieveApplicationData()
null
public ExecutionContext.SecurityContext retrieveSecurityContext()
null
public ExecutionContext.RuntimeData retrieveRuntimeData()
null