Modifier and Type | Class and Description |
---|---|
class |
BusErrorCallback |
Modifier and Type | Class and Description |
---|---|
class |
AsyncDelegateErrorCallback
An error callback decorator for repeating tasks which automatically cancels
them when they cause an error.
|
class |
DefaultErrorCallback
The default error callback implementation, used when
MessageBuildParms.defaultErrorHandling() was invoked
(which is the default when there is no explicit mention of error handling to the MessageBuilder). |
Modifier and Type | Method and Description |
---|---|
ErrorCallback |
CommandMessage.getErrorCallback() |
Modifier and Type | Method and Description |
---|---|
Message |
CommandMessage.errorsCall(ErrorCallback callback) |
Constructor and Description |
---|
AsyncDelegateErrorCallback(HasAsyncTaskRef task,
ErrorCallback delegate)
Creates an error callback that optionally wraps another error callback.
|
Modifier and Type | Method and Description |
---|---|
RemoteCallSendable |
RemoteCallErrorDef.errorsHandledBy(ErrorCallback errorCallback)
Sets the error handler function and returns an instance of RemoteCallSendable
|
R |
MessageBuildParms.errorsHandledBy(ErrorCallback callback)
Sets the error callback function for the message.
|
Modifier and Type | Method and Description |
---|---|
ErrorCallback<Message> |
Message.getErrorCallback()
Gets the error callback for this message.
|
Modifier and Type | Method and Description |
---|---|
Message |
Message.errorsCall(ErrorCallback callback)
Sets the error callback for this message.
|
Modifier and Type | Field and Description |
---|---|
protected ErrorCallback |
AbstractRpcProxy.errorCallback |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRpcProxy.setErrorCallback(ErrorCallback errorCallback) |
Constructor and Description |
---|
ThreadWorker(ErrorCallback errorCallback,
TaskProvider pool) |
Modifier and Type | Method and Description |
---|---|
T |
Caller.call(RemoteCallback<?> callback,
ErrorCallback<?> errorCallback)
Returns an instance of the proxy that can invoke service methods on the
service described by
T . |
<T> T |
BatchCaller.call(RemoteCallback<?> callback,
ErrorCallback<?> errorCallback,
Class<T> remoteService)
Returns an instance of the proxy that can schedule invocations on service methods on the service described by
T . |
void |
BatchCaller.sendBatch(ErrorCallback<?> errorCallback)
Invokes the accumulated remote requests using a single server round trip.
|
void |
BatchCaller.sendBatch(RemoteCallback<Void> callback,
ErrorCallback<?> errorCallback)
Invokes the accumulated remote requests using a single server round trip.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
RemoteCallContext.proceed(RemoteCallback<?> callback,
ErrorCallback<?> errorCallback)
Proceeds to the next interceptor in the chain or with the execution of the
intercepted method if all interceptors have been executed.
|
Modifier and Type | Method and Description |
---|---|
void |
RpcStub.setErrorCallback(ErrorCallback callback) |
Modifier and Type | Method and Description |
---|---|
abstract ErrorCallback<?> |
AbstractJaxrsProxy.getErrorCallback()
Returns the error callback used by this proxy.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RestErrorCallback
A callback that is invoked when a request to a REST endpoint fails.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
RestCallContext.proceed(ResponseCallback callback,
ErrorCallback<?> errorCallback)
Proceeds to the next interceptor in the chain or with the execution of the
intercepted method if all interceptors have been executed.
|
Modifier and Type | Method and Description |
---|---|
void |
ErraiMessageSender.send(T value,
ErrorCallback errorCallback) |
void |
Sender.send(T value,
ErrorCallback errorCallback)
Sends the message to the subject specified by
ToSubject . |
void |
ErraiMessageSender.send(T value,
MessageCallback replyTo,
ErrorCallback errorCallback) |
void |
Sender.send(T value,
MessageCallback replyTo,
ErrorCallback errorCallback)
Sends the message to the subject specified by
ToSubject . |
Modifier and Type | Field and Description |
---|---|
protected static ErrorCallback<?> |
ClientSyncManager.DEFAULT_ERROR_CALLBACK |
Modifier and Type | Method and Description |
---|---|
<E> void |
ClientSyncManager.coldSync(String queryName,
Class<E> queryResultType,
Map<String,Object> queryParams,
RemoteCallback<List<SyncResponse<E>>> onCompletion,
ErrorCallback<?> onError)
Performs a "cold" synchronization on the results of the given query with the given parameters.
|
static <E> ClientSyncWorker<E> |
ClientSyncWorker.create(String queryName,
Class<E> queryResultType,
ErrorCallback<?> onError)
Creates a new ClientSyncWorker which takes responsibility for syncing the results of the named
JPA query.
|
Constructor and Description |
---|
ClientSyncWorker(ClientSyncManager manager,
String queryName,
Class<E> queryResultType,
ErrorCallback<?> onError)
Creates a new ClientSyncWorker which takes responsibility for syncing the results of the named
JPA query.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultRestSecurityErrorCallback
A
RestErrorCallback that catches UnauthenticatedExceptions and UnauthorizedExceptions and navigates to the page with the LoginPage
or SecurityError role, respectively. |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.