|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Base interface for JobProcess listeners.
All initialization, etc. occurs through the ConfigurationManager framework.
XML Configuration Schema:
<JobProcessListener class="[ class of IJobProcessListener implementation ]" >
<!-- configuration parameters of the IJobProcessListener class -->
</JobProcessListener>
| Field Summary | |
static int |
COMPLETED
|
static int |
COMPLETED_NORMALLY
|
static int |
SCHEDULED
|
static int |
STARTED
|
static int |
UNSCHEDULED
|
| Method Summary | |
int |
getCompletedStatus()
|
java.util.Date |
getJobCompletedTime()
Returns time at which the Job process executeJob( ) method completed. |
java.util.Date |
getJobScheduledTime()
Returns time at which the Scheduler added the Job to the queue. |
java.util.Date |
getJobStartTime()
Returns time at which the JobDispatcher initiated the job process. |
int |
getJobStatus()
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
void |
jobCompleted(java.lang.Object process,
java.util.Date at,
int status)
set status = 0 for normal completion. |
void |
jobScheduled(java.util.Date at)
|
void |
jobStarting(java.util.Date at)
|
| Field Detail |
public static final int UNSCHEDULED
public static final int SCHEDULED
public static final int STARTED
public static final int COMPLETED
public static final int COMPLETED_NORMALLY
| Method Detail |
public void initialize(org.w3c.dom.Element elem)
IConfigurable
initialize in interface IConfigurablepublic void jobScheduled(java.util.Date at)
public void jobStarting(java.util.Date at)
public void jobCompleted(java.lang.Object process,
java.util.Date at,
int status)
public int getJobStatus()
public int getCompletedStatus()
public java.util.Date getJobScheduledTime()
public java.util.Date getJobStartTime()
public java.util.Date getJobCompletedTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||