Uses of Interface
org.glassfish.api.admin.AdminCommandContext
Package
Description
Admin commands in GlassFish
-
Uses of AdminCommandContext in org.glassfish.api.admin
Modifier and TypeClassDescriptionclass
Most ofAdminCommandContext
attributes are used in any phase of command execution (supplemental commands, replication) but some of them must be different for every instance.class
Useful services for administrative commands implementationModifier and TypeMethodDescriptionvoid
JobManager.checkpoint
(AdminCommandContext context, Serializable data) Stores current command state.void
JobManager.checkpoint
(AdminCommand command, AdminCommandContext context) Stores current command state.void
AdminCommand.execute
(AdminCommandContext context) Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter valuesClusterExecutor.execute
(String commandName, AdminCommand command, AdminCommandContext context, ParameterMap parameters) Execute the passed command on targeted remote instances.SupplementalCommandExecutor.execute
(Collection<SupplementalCommandExecutor.SupplementalCommand> suplementals, Supplemental.Timing time, AdminCommandContext context, ParameterMap parameters, org.jvnet.hk2.component.MultiMap<String, File> optionFileMap) void
SupplementalCommandExecutor.SupplementalCommand.execute
(AdminCommandContext ctxt) TargetBasedExecutor.execute
(String commandName, AdminCommand command, AdminCommandContext context, ParameterMap parameters) 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
AdminCommandSecurity.Preauthorization.preAuthorization
(AdminCommandContext context) ModifierConstructorDescriptionAdminCommandContextForInstance
(AdminCommandContext wrapped, ProgressStatus progressStatus) Checkpoint
(Job job, AdminCommand command, AdminCommandContext context) -
Uses of AdminCommandContext in org.glassfish.api.admin.config
Modifier and TypeMethodDescriptionvoid
LegacyConfigurationUpgrade.execute
(AdminCommandContext context)