|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.api.admin.ExecuteOn.TargetBasedExecutor
@Service public static final class ExecuteOn.TargetBasedExecutor
Convenience implementation that delegate to a provided system executor. This provider will be looked up from the habitat by its type ClusterExecutor and the "target" name.
| Constructor Summary | |
|---|---|
ExecuteOn.TargetBasedExecutor()
|
|
| Method Summary | |
|---|---|
ActionReport.ExitCode |
execute(java.lang.String commandName,
AdminCommand command,
AdminCommandContext context,
ParameterMap parameters)
Execute the passed command on targeted remote instances. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecuteOn.TargetBasedExecutor()
| Method Detail |
|---|
public ActionReport.ExitCode execute(java.lang.String commandName,
AdminCommand command,
AdminCommandContext context,
ParameterMap parameters)
ClusterExecutorExecute the passed command on targeted remote instances. The list of remote instances is usually retrieved from the passed parameters (with a "target" parameter for instance) or from the configuration.
Each remote execution must return a different ActionReport so the user or framework can get feedback on the success or failure or such executions.
execute in interface ClusterExecutorcommandName - the name of the command to executecommand - the command to executecontext - the original command contextparameters - the parameters passed to the original local command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||