|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.odi.domain.runtime.ess.support.SchedulingServiceImpl
public class SchedulingServiceImpl
Default ISchedulingService
implementation, querying
ESS runtime according connection information from provided
OdiEnterpriseScheduler
.
This implementation makes every methods participate in surrounding ODI transaction, if one exists, using transaction synchronization mechanism.
Constructor Summary | |
---|---|
SchedulingServiceImpl(OdiInstance pOdiInstance,
OdiEnterpriseScheduler pEnterpriseScheduler)
Constructs a SchedulingServiceImpl object. |
Method Summary | |
---|---|
void |
cancelJobRequest(long pRequestId,
boolean pDeleteRequest)
Submit an cancel an ESS Job. |
long |
submitJobRequest(oracle.as.scheduler.MetadataObjectId pJobDefinitionId,
oracle.as.scheduler.MetadataObjectId pScheduleId,
java.util.Calendar pStart,
java.util.Calendar pEnd)
Submit an ESS Job for execution. |
long |
submitJobRequest(oracle.as.scheduler.MetadataObjectId pJobDefinitionId,
oracle.as.scheduler.MetadataObjectId pScheduleId,
java.util.Calendar pStart,
java.util.Calendar pEnd,
java.lang.String pLogicalAgentName,
java.lang.String pContextCode,
java.lang.String pWorkRepositoryName,
java.lang.String pLogLevel,
StartupParameters pVariables)
Submit an ESS Job for execution. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchedulingServiceImpl(OdiInstance pOdiInstance, OdiEnterpriseScheduler pEnterpriseScheduler)
pOdiInstance
- an OdiInstance objectpEnterpriseScheduler
- an OdiEnterpriseScheduler objectMethod Detail |
---|
public void cancelJobRequest(long pRequestId, boolean pDeleteRequest) throws JobRequestCancellationException
ISchedulingService
cancelJobRequest
in interface ISchedulingService
pRequestId
- the ESS requestIdpDeleteRequest
- pDeleteRequest
JobRequestCancellationException
- for any problem cancelling the jobpublic long submitJobRequest(oracle.as.scheduler.MetadataObjectId pJobDefinitionId, oracle.as.scheduler.MetadataObjectId pScheduleId, java.util.Calendar pStart, java.util.Calendar pEnd) throws JobRequestSubmissionException
ISchedulingService
submitJobRequest
in interface ISchedulingService
pJobDefinitionId
- the ESS job namepScheduleId
- the ODI scenario to be executedpStart
- time to start the schedulepEnd
- time to end the schedule
JobRequestSubmissionException
- for any problem submitting the job#submitJobRequest(pJobDefinitionId, pScheduleId, pStart, pEnd, pLogicalAgentName, pContextCode, pWorkRepositoryName, pLogLevel, pVariables)
public long submitJobRequest(oracle.as.scheduler.MetadataObjectId pJobDefinitionId, oracle.as.scheduler.MetadataObjectId pScheduleId, java.util.Calendar pStart, java.util.Calendar pEnd, java.lang.String pLogicalAgentName, java.lang.String pContextCode, java.lang.String pWorkRepositoryName, java.lang.String pLogLevel, StartupParameters pVariables) throws JobRequestSubmissionException
ISchedulingService
submitJobRequest
in interface ISchedulingService
pJobDefinitionId
- the ESS jobDefinitionIdpScheduleId
- the ESS scheduleIdpStart
- time to start the schedulepEnd
- time to end the schedulepLogicalAgentName
- the ESS job name. If set, context code must also be set. Ignored if nullpContextCode
- the ODI context code. Ignored if nullpWorkRepositoryName
- work repository name. Ignored if nullpLogLevel
- logging level. Ignored if nullpVariables
- startup variables. Ignored if null
JobRequestSubmissionException
- for any problem submitting the job
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |