public static interface ManagementRequestHandlerFactory.RequestHandlerChain
| Modifier and Type | Method and Description |
|---|---|
<T,A> ActiveOperation<T,A> |
createActiveOperation(A attachment)
Create a new active operation.
|
<T,A> ActiveOperation<T,A> |
createActiveOperation(A attachment,
ActiveOperation.CompletedCallback<T> callback)
Create a new active operation.
|
<T,A> ActiveOperation<T,A> |
registerActiveOperation(Integer id,
A attachment)
Create a new active operation, with a given operation-id obtained from an
incoming request's header. |
<T,A> ActiveOperation<T,A> |
registerActiveOperation(Integer id,
A attachment,
ActiveOperation.CompletedCallback<T> callback)
Create a new active operation, with a given operation-idobtained from an
incoming request's header. |
ManagementRequestHandler<?,?> |
resolveNext()
Ask the next factory in the chain to resolve the handler.
|
<T,A> ActiveOperation<T,A> createActiveOperation(A attachment)
T - the result typeA - the attachment typeattachment - the optional attachment<T,A> ActiveOperation<T,A> createActiveOperation(A attachment, ActiveOperation.CompletedCallback<T> callback)
T - the result typeA - the attachment typeattachment - the optional attachmentcallback - the completed callback<T,A> ActiveOperation<T,A> registerActiveOperation(Integer id, A attachment)
incoming request's header.T - the result typeA - the attachment typeid - the operation-idattachment - the attachmentIllegalStateException - if an operation with the same id is already registered<T,A> ActiveOperation<T,A> registerActiveOperation(Integer id, A attachment, ActiveOperation.CompletedCallback<T> callback)
incoming request's header.T - the result typeA - the attachment typeid - the operation-idattachment - the attachmentcallback - the completed callbackIllegalStateException - if an operation with the same id is already registeredManagementRequestHandler<?,?> resolveNext()
Copyright © 2022 JBoss by Red Hat. All rights reserved.