Package com.sun.enterprise.v3.admin
Class JobCreatorService
- java.lang.Object
-
- com.sun.enterprise.v3.admin.JobCreatorService
-
- All Implemented Interfaces:
JobCreator
@Service(name="job-creator") public class JobCreatorService extends Object implements JobCreator
This service implements theJobCreator
and is used for creating Jobs- Author:
- Bhakti Mehta
-
-
Constructor Summary
Constructors Constructor Description JobCreatorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Job
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
-
-
-
Method Detail
-
createJob
public Job 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- Specified by:
createJob
in interfaceJobCreator
- Parameters:
scope
- The scope of the command or null if there is no scopename
- The name of the command- Returns:
- a newly created job
-
-