void |
JobManager.checkpoint(AdminCommand command,
AdminCommandContext context) |
Stores current command state.
|
AdminCommand |
CommandAspectBase.createWrapper(T ann,
CommandModel model,
AdminCommand command,
ActionReport report) |
This methods can be used to wrap generic functionality around command execute.
|
AdminCommand |
CommandAspectImpl.createWrapper(T ann,
CommandModel model,
AdminCommand command,
ActionReport report) |
This methods can be used to wrap generic functionality around command execute.
|
static AdminCommand |
CommandSupport.createWrappers(org.glassfish.hk2.api.ServiceLocator serviceLocator,
CommandModel model,
AdminCommand command,
ActionReport report) |
Execute wrapping aspects, see AsyncImpl for example.
|
void |
AuthorizationPreprocessor.describeAuthorization(Subject subject,
String resourceName,
String action,
AdminCommand command,
Map<String,Object> context,
Map<String,String> subjectAttributes,
Map<String,String> resourceAttributes,
Map<String,String> actionAttributes) |
Optionally adds to the attributes that will be attached to the Subject, the resource, and the action used for an
upcoming authorization check.
|
void |
CommandAspectBase.done(T ann,
AdminCommand command,
Job instance) |
Execute when command is finished successfully or not.
|
void |
CommandAspectFacade.done(AdminCommand command,
Job instance) |
Execute when command is finished successfully or not.
|
void |
CommandAspectImpl.done(T ann,
AdminCommand command,
Job instance) |
Execute when command is finished successfully or not.
|
static void |
CommandSupport.done(org.glassfish.hk2.api.ServiceLocator serviceLocator,
AdminCommand command,
Job instance) |
|
static void |
CommandSupport.done(org.glassfish.hk2.api.ServiceLocator serviceLocator,
AdminCommand command,
Job instance,
boolean isNotify) |
Execute aspects when command is finished successfully or not.
|
ActionReport.ExitCode |
ClusterExecutor.execute(String commandName,
AdminCommand command,
AdminCommandContext context,
ParameterMap parameters) |
Execute the passed command on targeted remote instances.
|
void |
CommandRunner.CommandInvocation.execute(AdminCommand command) |
Executes the passed command with this context and populates the report with the execution result.
|
ActionReport.ExitCode |
TargetBasedExecutor.execute(String commandName,
AdminCommand command,
AdminCommandContext context,
ParameterMap parameters) |
|
Lock |
AdminCommandLock.getLock(AdminCommand command) |
Return the appropriate Lock object for the specified command.
|
Lock |
AdminCommandLock.getLock(AdminCommand command,
String owner) |
Return the appropriate Lock object for the specified command.
|
static String |
CommandSupport.getParamValue(AdminCommand command,
String name) |
Get parameter value for a command.
|
static <T> T |
CommandSupport.getParamValue(AdminCommand command,
String name,
Class<T> paramType) |
Get parameter value for a command.
|
void |
CommandAspectBase.init(T ann,
AdminCommand command,
AdminCommandContext context,
Job instance) |
Execute when command is just completely initialized, i..e injected with parameters.
|
void |
CommandAspectImpl.init(T ann,
AdminCommand command,
AdminCommandContext context,
Job instance) |
Execute when command is just completely initialized, i..e injected with parameters.
|
static void |
CommandSupport.init(org.glassfish.hk2.api.ServiceLocator serviceLocator,
AdminCommand command,
AdminCommandContext context,
Job instance) |
Execute aspects when command is just completely initialized, i..e injected with parameters.
|
boolean |
CommandRunner.validateCommandModelETag(AdminCommand command,
String eTag) |
Checks if given command model eTag is equal to current command model eTag
|