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.
|
<T,A> ActiveOperation<T,A> |
registerActiveOperation(Integer id,
A attachment,
ActiveOperation.CompletedCallback<T> callback)
Create a new active operation, with a given operation-id.
|
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)
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)
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 © 2023 JBoss by Red Hat. All rights reserved.