class |
UpdatePasswordAlias
Update Password Alias Command
Usage: update-password-alias [--terse=false] [--echo=false]
[--interactive=true] [--host localhost] [--port 4848|4849]
[--secure | -s] [--user admin_user] [--passwordfile file_name] aliasname
Result of the command is that:
the entry of the form: aliasname= in
//config/domain-passwords file gets updated with the
new alias password
domain.xml example entry is:
Classes in com.sun.enterprise.v3.admin that implement AdminCommand
| Modifier and Type |
Class and Description |
class |
CreateProfiler
Create Profiler Command
|
class |
CreateSystemProperties
Create System Properties Command
Adds or updates one or more system properties of the domain, configuration,
cluster, or server instance
Usage: create-system-properties [--terse=false] [--echo=false] [--interactive=true]
[--host localhost] [--port 4848|4849] [--secure|-s=true] [--user admin_user]
[--passwordfile file_name] [--target target(Default server)] (name=value)[:name=value]*
|
class |
DeleteProfiler
Delete JDBC Resource command
|
class |
DeleteSystemProperty
Delete System Property Command
Removes one system property of the domain, configuration, cluster, or server
instance, at a time
Usage: delete-system-property [--terse=false] [--echo=false] [--interactive=true]
[--host localhost] [--port 4848|4849] [--secure|-s=true] [--user admin_user] [
--passwordfile file_name] [--target target(Default server)] property_name
|
class |
DumpHK2Command
Dumps the currently configured HK2 modules and their contents.
|
class |
GetCommand
User: Jerome Dochez
Date: Jul 10, 2008
Time: 12:17:26 AM
|
class |
GetHabitatInfo
Dumps a sorted list of all registered Contract's in the Habitat
|
class |
GetRestartRequiredCommand
Return the "restart required" flag.
|
class |
ListCommand
User: Jerome Dochez
Date: Jul 12, 2008
Time: 1:27:53 AM
|
class |
ListCommandDescriptorsCommand
Create data structures that describe the command.
|
class |
ListCommandsCommand
Simple admin command to list all existing commands.
|
class |
ListContainersCommand
This admin command list the containers currentely running within that
Glassfish instance
|
class |
ListModulesCommand
List the modules available to this instance and their status
|
class |
ListSystemProperties
List System Properties Command
Lists the system properties of the domain, configuration, cluster, or server instance
Usage: lists-system-properties [--terse={true|false}][ --echo={true|false} ]
[ --interactive={true|false} ] [ --host host] [--port port] [--secure| -s ]
[ --user admin_user] [--passwordfile filename] [--help] [target_name]
|
class |
LocationsCommand
Locations command to indicate where this server is installed.
|
class |
RestartDomainCommand
For non-verbose mode:
Stop this server, spawn a new JVM that will wait for this JVM to die.
|
class |
RuntimeInfo
https://glassfish.dev.java.net/issues/show_bug.cgi?id=12483
|
class |
SetCommand
User: Jerome Dochez Date: Jul 11, 2008 Time: 4:39:05 AM
|
class |
StopDomainCommand
AdminCommand to stop the domain execution which mean shuting down the application
server.
|
class |
UptimeCommand
uptime command
Reports on how long the server has been running.
|
class |
VersionCommand
Return the version and build number
|
Methods in com.sun.enterprise.v3.admin with parameters of type AdminCommand
| Modifier and Type |
Method and Description |
void |
JobManagerService.checkpoint(AdminCommand command,
AdminCommandContext context) |
void |
JobAuthorizationAttributeProcessor.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) |
void |
CommandRunnerImpl.getHelp(AdminCommand command,
ActionReport report) |
boolean |
CommandRunnerImpl.validateCommandModelETag(AdminCommand command,
String eTag) |
protected abstract boolean |
AdminAdapter.validatePrivacy(AdminCommand command) |
protected boolean |
PrivateAdminAdapter.validatePrivacy(AdminCommand command) |
protected boolean |
PublicAdminAdapter.validatePrivacy(AdminCommand command) |
Classes in com.sun.enterprise.v3.admin.commands that implement AdminCommand
| Modifier and Type |
Class and Description |
class |
AttachCommand
Gets CommandInstance from registry based on given id and forwards all events.
|
class |
ConfigureManagedJobs
This command manages configured jobs
Managed jobs are commands which are annotated with @ManagedJob ,@Progress
or running with --detach
You can configure the job retention period, job inactivity period,initial-delay,poll-interval
persisting options for those jobs which will be used by the Job Manager
to purge the jobs according to the criteria specified.
|
class |
CreateJvmOptions
Creates given JVM options in server's configuration.
|
class |
CreateThreadpool
Create Thread Pool Command
|
class |
DeleteJvmOptions
Deletes given JVM options in server's configuration.
|
class |
DeleteThreadpool |
class |
GenerateJvmReportCommand
Implements the front end for generating the JVM report.
|
class |
GetPayloadCommand
Retrieve outbound payload from finished managed job.
|
class |
ListJobsCommand
This command will list the jobs related information
Currently it prints the jobId, name, time of execution,user and the state
|
class |
ListJvmOptions
Lists the JVM options configured in server's configuration.
|
class |
ListThreadpools
List Thread Pools command
|
Classes in fish.payara.batch that implement AdminCommand
| Modifier and Type |
Class and Description |
class |
PurgeJbatchRepository
Purges the JBatch repository of all history of a specified apptag
The default apptag form is server-config:/applicationName_/applicationName
|
Classes in fish.payara.service.example.config.admin that implement AdminCommand
| Modifier and Type |
Class and Description |
class |
ExampleConfigUpdateOnlyOnDAS
Example command that updates the correct configuration but runs ONLY on the DAS
You can do this style of command if you only want to update the configuration
and you don't care about updating the service dynamically in other running instances
NOTE: If the service is a ConfigListener it will still be notified on the DAS that
the configuration has changed
|
class |
ExampleDASCommandWithReplication
This is an Exemplar asadmin command that needs to first run on the DAS to do
something and then runs an additional command on a number of instances.
|
class |
ExampleInstanceCommand
Example Command that does not operate on the configuration but wants to
interact directly with the service running in an instance.
|
class |
GetExampleServiceMessageCommand
This is an exemplar command for displaying to the user the configuration as specified
in the domain.xml
In contrast to the equivalent set command this command only needs to run on the DAS
and does not need to replicate itself to all nodes.
|
class |
SetExampleServiceMessage
Exemplar command for configuration updates.
|
Methods in org.glassfish.api.admin that return AdminCommand
| 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.
|
Methods in org.glassfish.api.admin with parameters of type AdminCommand
| 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 |
ClusterExecutor.execute(String commandName,
AdminCommand command,
AdminCommandContext context,
ParameterMap parameters)
Execute the passed command on targeted remote instances.
|
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.
|
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
|
Subinterfaces of AdminCommand in org.glassfish.internal.api
| Modifier and Type |
Interface and Description |
interface |
UndoableCommand
Interface that augment the AdminCommand responsibilities by adding the ability
to undo a previously successful execution of an administrative command.
|
Copyright © 2017. All rights reserved.
|