com.bea.p13n.jobmanager.service
Interface JobManagerService


public interface JobManagerService

The JobManagerService interface provides for creating app or web app scoped JobManagers for scheduling jobs.

In order to access the JobManager service do:

com.bea.p13n.jobmanager.service.JobManagerService jm = com.bea.wlp.services.Services.getService(com.bea.p13n.jobmanager.service.JobManagerService.class);


Method Summary
 JobManager getJobManager()
          Returns an app scoped JobManager instance.
 JobManager getJobManager(javax.servlet.ServletContext servletContext)
          Returns the web app scoped JobManager.
 

Method Detail

getJobManager

JobManager getJobManager()
Returns an app scoped JobManager instance.

Returns
an app scoped JobManager instance.

getJobManager

JobManager getJobManager(javax.servlet.ServletContext servletContext)
Returns the web app scoped JobManager. The web app is identified by the given servletContext. This Job Manager will be able to manage and schedule jobs within the scope of the given web app.

Parameters
servletContext - The servletContext of a web app.
Returns
The web app scoped Job Manager.


Copyright © 2011, Oracle. All rights reserved.