@ERQSMyJobListener(value="er.quartzscheduler.foundation.ERQSJobListener") @ERQSMySupervisor(value="er.quartzscheduler.foundation.ERQSJobSupervisor") public class ERQSSchedulerFP4Test extends ERQSSchedulerServiceFrameworkPrincipal
ERXFrameworkPrincipal.Observer
INSTANCE_KEY
initializedFrameworks, launchingFrameworks
Constructor and Description |
---|
ERQSSchedulerFP4Test() |
Modifier and Type | Method and Description |
---|---|
NSArray<ERQSJobDescription> |
getListOfJobDescription(EOEditingContext editingContext)
Expects that this method never returns null but an empty array if there is no job
|
EOEditingContext |
newEditingContext()
This method is used by a job that subclasses ERQSAbstractJob.
|
EOEditingContext |
newEditingContext(EOObjectStore parent)
This method is used by a job that subclasses ERQSAbstractJob.
|
addJobListener, deleteAllJobs, finishInitialization, getAllJobs, getDefaultJobListener, getScheduler, getSharedInstance, getTriggerOfJob, getTriggerState, hasRunningJobs, instantiateJobSupervisor, schedulerMustRun, setSharedInstance, stopScheduler, supervisorSleepDuration, triggerNow
didFinishInitialization, hasFrameworkInstalled, initialize, setUpFrameworkPrincipalClass, sharedInstance, toString
public NSArray<ERQSJobDescription> getListOfJobDescription(EOEditingContext editingContext)
ERQSSchedulerServiceFrameworkPrincipal
getListOfJobDescription
in class ERQSSchedulerServiceFrameworkPrincipal
public EOEditingContext newEditingContext()
ERQSSchedulerServiceFrameworkPrincipal
private static ERXEC.Factory manualLockingEditingContextFactory = new ERXEC.DefaultFactory() { protected EOEditingContext _createEditingContext(final EOObjectStore parent) { return new MyEditingContext(parent == null ? EOEditingContext.defaultParentObjectStore() : parent) { public boolean useAutoLock() {return false;} public boolean coalesceAutoLocks() {return false;} }; }Then implement newEditingContext() as follow:
public EOEditingContext newEditingContext() { EOObjectStoreCoordinator osc = ERXTaskObjectStoreCoordinatorPool.objectStoreCoordinator(); return COEditingContextFactory.newManualLockingEditingContext(osc); }
newEditingContext
in class ERQSSchedulerServiceFrameworkPrincipal
public EOEditingContext newEditingContext(EOObjectStore parent)
ERQSSchedulerServiceFrameworkPrincipal
newEditingContext
in class ERQSSchedulerServiceFrameworkPrincipal
Copyright © 2002 – 2024 Project Wonder.