| Package | Description |
|---|---|
| org.glassfish.api | |
| org.glassfish.api.admin |
Admin commands in GlassFish
|
| Modifier and Type | Method and Description |
|---|---|
WrappedAdminCommand |
AsyncImpl.createWrapper(Async async,
CommandModel model,
AdminCommand command,
ActionReport report) |
| Modifier and Type | Class and Description |
|---|---|
class |
WrappedAdminCommand
Represents command wrapped with
CommandWrapperImpl. |
| Modifier and Type | Method and Description |
|---|---|
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. |
AdminCommand |
JobManager.Checkpoint.getCommand() |
AdminCommand |
SupplementalCommandExecutor.SupplementalCommand.getCommand() |
AdminCommand |
CommandRunner.getCommand(String commandName,
ActionReport report,
Logger logger)
Obtain and return the command implementation defined by the passed commandName
for the null scope
|
AdminCommand |
CommandRunner.getCommand(String scope,
String commandName,
ActionReport report,
Logger logger)
Obtain and return the command implementation defined by the passed commandName
|
protected AdminCommand |
WrappedAdminCommand.getUnwrappedCommand()
Get root of wrapped command.
|
protected AdminCommand |
WrappedAdminCommand.getWrappedCommand()
Original command that was wrapped.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
CommandAspectFacade.done(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.
|
void |
CommandAspectBase.done(T ann,
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.
|
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) |
ActionReport.ExitCode |
ClusterExecutor.execute(String commandName,
AdminCommand command,
AdminCommandContext context,
ParameterMap parameters)
Execute the passed command on targeted remote instances.
|
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.
|
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.
|
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.
|
boolean |
CommandRunner.validateCommandModelETag(AdminCommand command,
String eTag)
Checks if given command model eTag is equal to current command model eTag
|
| Constructor and Description |
|---|
Checkpoint(Job job,
AdminCommand command,
AdminCommandContext context) |
WrappedAdminCommand(AdminCommand command)
Default constructor.
|
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.