|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobContext
Holds information about a job and an implementation of this is passed to the work manager to execute. Once executed it calls the Job's executeWork method passing in it self.
Method Summary | |
---|---|
String |
getApplicationName()
Returns the application name in which the encapsulated job is executed. |
String |
getClusterName()
Returns the cluster name in which the encapsulated job is executed. |
JobManager.JOB_STATUS |
getCompletedStatus()
Returns the job status |
String |
getId()
Returns the job's id. |
Job |
getJob()
Returns the job object this context is or is going to execute. |
JobDefinition |
getJobDefinition()
Returns the encapsulated job's definition (configuration information) |
Map<String,String> |
getParameters()
Returns the job's parameters. |
String |
getServerName()
Returns the server name on which the encapsulated job is executed. |
javax.servlet.ServletContext |
getServletContext()
If this job is running in the context of a web application then this will return a servlet context for that web application. |
String |
getWebApplicationName()
Returns web application name if the encapsulated job is executed in the web app scope, otherwise returns null. |
boolean |
isCanceled()
Indicates whether the job is cancelled or not. |
Method Detail |
---|
Job getJob()
javax.servlet.ServletContext getServletContext()
JobManager.JOB_STATUS getCompletedStatus()
Map<String,String> getParameters()
String getApplicationName()
String getClusterName()
String getWebApplicationName()
String getServerName()
JobDefinition getJobDefinition()
String getId()
boolean isCanceled()
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |