public abstract class StatelessRemoteRunner extends StatelessRemoteCall
run(StatelessClientContext).DEFAULT_VERSION_FILTER| Constructor and Description |
|---|
StatelessRemoteRunner()
Creates a new wrapper which applies a single filter to the
client context.
|
StatelessRemoteRunner(TagFilter versionIdFilter,
TagFilter appIdFilter,
TagFilter clientIdFilter)
Creates a new wrapper which applies the given filters to the
client context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(StatelessClientContext context)
Invokes the service implementation on behalf of the client with
the given context.
|
protected abstract void |
run(StatelessClientContext context)
The service implementation, executed on behalf of the client
with the given context.
|
assertFilterMatch, assertFilterMatch, getAppIdFilter, getClientIdFilter, getVersionIdFilter, handleSuccess, startCall, wrapFailurepublic StatelessRemoteRunner(TagFilter versionIdFilter, TagFilter appIdFilter, TagFilter clientIdFilter)
versionIdFilter - The version ID filter, which may be null.appIdFilter - The application ID filter, which may be null.clientIdFilter - The client ID filter, which may be null.public StatelessRemoteRunner()
public void execute(StatelessClientContext context) throws RemoteException
context - The context.RemoteException - Thrown if the implementation fails;
it wraps the throwable thrown by the actual implementation.protected abstract void run(StatelessClientContext context) throws Exception
context - The context.Exception - Thrown if the implementation fails.Copyright © 2015. All Rights Reserved.