Package org.jboss.as.protocol.mgmt
Interface ManagementRequestContext.AsyncTask<A>
-
- All Known Subinterfaces:
ManagementRequestContext.MultipleResponseAsyncTask<A>
- Enclosing interface:
- ManagementRequestContext<A>
public static interface ManagementRequestContext.AsyncTask<A>A task that can be executed asynchronously by aManagementRequestContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(ManagementRequestContext<A> context)Execute the task.
-
-
-
Method Detail
-
execute
void execute(ManagementRequestContext<A> context) throws Exception
Execute the task.If the task throws an exception during execution, the
failed methodof theResultHanderassociated with the request will be invoked, and if it returnstruea failure message will be sent to the remote client.- Parameters:
context- the request context- Throws:
Exception
-
-