Uses of Interface
org.glassfish.api.admin.AdminCommand
-
Uses of AdminCommand in org.glassfish.api
Modifier and TypeMethodDescriptionAsyncImpl.createWrapper
(Async async, CommandModel model, AdminCommand command, ActionReport report) -
Uses of AdminCommand in org.glassfish.api.admin
Modifier and TypeClassDescriptionclass
Represents command wrapped withCommandWrapperImpl
.Modifier and TypeMethodDescriptionCommandAspectBase.createWrapper
(T ann, CommandModel model, AdminCommand command, ActionReport report) This methods can be used to wrap generic functionality around command execute.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, seeAsyncImpl
for example.CommandRunner.getCommand
(String scope, String commandName, ActionReport report, Logger logger) Obtain and return the command implementation defined by the passed commandNameCommandRunner.getCommand
(String commandName, ActionReport report, Logger logger) Obtain and return the command implementation defined by the passed commandName for the null scopeJobManager.Checkpoint.getCommand()
SupplementalCommandExecutor.SupplementalCommand.getCommand()
protected AdminCommand
WrappedAdminCommand.getUnwrappedCommand()
Get root of wrapped command.protected AdminCommand
WrappedAdminCommand.getWrappedCommand()
Original command that was wrapped.Modifier and TypeMethodDescriptionvoid
JobManager.checkpoint
(AdminCommand command, AdminCommandContext context) Stores current command state.CommandAspectBase.createWrapper
(T ann, CommandModel model, AdminCommand command, ActionReport report) This methods can be used to wrap generic functionality around command execute.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, seeAsyncImpl
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.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.TargetBasedExecutor.execute
(String commandName, AdminCommand command, AdminCommandContext context, ParameterMap parameters) AdminCommandLock.getLock
(AdminCommand command) Return the appropriate Lock object for the specified command.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 eTagModifierConstructorDescriptionCheckpoint
(Job job, AdminCommand command, AdminCommandContext context) WrappedAdminCommand
(AdminCommand command) Default constructor.