| Package | Description |
|---|---|
| com.sun.enterprise.v3.admin | |
| com.sun.enterprise.v3.admin.commands |
All the general utility admin commands may be placed in this package.
|
| org.glassfish.api.admin |
Admin commands in GlassFish
|
| Modifier and Type | Class and Description |
|---|---|
class |
AdminCommandInstanceImpl
Represents running (or finished) command instance.
|
| Modifier and Type | Method and Description |
|---|---|
Job |
JobCreatorService.createJob(String id,
String scope,
String name,
Subject subject,
boolean isManagedJob,
ParameterMap parameters)
This will create a new job with the name of command and a new unused id for the job
|
Job |
JobManagerService.get(String id)
This will return a job associated with the id
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Job> |
JobManagerService.getJobs()
This returns all the jobs in the registry
|
| Modifier and Type | Method and Description |
|---|---|
static CheckpointHelper.CheckpointFilename |
CheckpointHelper.CheckpointFilename.createAttachment(Job job,
String attachmentId) |
static CheckpointHelper.CheckpointFilename |
CheckpointHelper.CheckpointFilename.createBasic(Job job) |
<T extends Serializable> |
CheckpointHelper.loadAttachment(Job job,
String attachmentId) |
void |
JobManagerService.registerJob(Job job)
This adds the jobs
|
void |
CheckpointHelper.saveAttachment(Serializable data,
Job job,
String attachmentId) |
| Modifier and Type | Field and Description |
|---|---|
protected Job |
AttachCommand.attached |
| Modifier and Type | Method and Description |
|---|---|
void |
AttachCommand.attach(Job attached,
JobInfo jobInfo,
AdminCommandContext context,
String jobName) |
protected boolean |
ListJobsCommand.checkScope(Job job) |
protected boolean |
ListJobsCommand.isJobEligible(Job job) |
protected boolean |
ListJobsCommand.isSingleJobOK(Job singleJob) |
| Modifier and Type | Method and Description |
|---|---|
Job |
JobCreator.createJob(String id,
String scope,
String name,
Subject subject,
boolean isManagedJob,
ParameterMap parameters) |
Job |
JobManager.get(String id)
This method is used to get a job by its id
|
Job |
JobManager.Checkpoint.getJob() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Job> |
JobManager.getJobs()
This method will return the list of jobs in the job registry
|
| Modifier and Type | Method and Description |
|---|---|
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 |
CommandAspectImpl.done(T ann,
AdminCommand command,
Job instance)
Execute when command is finished successfully or not.
|
void |
CommandAspectBase.done(T ann,
AdminCommand command,
Job instance)
Execute when command is finished successfully or not.
|
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 |
CommandAspectImpl.init(T ann,
AdminCommand command,
AdminCommandContext context,
Job instance)
Execute 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 |
JobManager.registerJob(Job instance)
This method will register the job in the job registry
|
| Constructor and Description |
|---|
Checkpoint(Job job,
AdminCommand command,
AdminCommandContext context) |
Copyright © 2019. All rights reserved.