public class ScheduleEngineFactory extends java.lang.Object implements IScheduleEngineFactory
IPersistantSchedulerEngine
and IVolatileSchedulerEngine
.Constructor and Description |
---|
ScheduleEngineFactory() |
Modifier and Type | Method and Description |
---|---|
IPersistantSchedulerEngine |
create(IManagedComponent managedComponent)
Creates an instance of persistent scheduler engine which can perform
scheduling activities.
|
IPersistantSchedulerEngine |
create(IManagedComponent managedComponent,
boolean isPauseRequired) |
IPersistantSchedulerEngine |
create(int configuration)
Deprecated.
use create(IManagedComponent) instead.
|
IVolatileSchedulerEngine |
create(java.lang.String sEngineName)
Creates an instance of volatile scheduler engine (In Memory)
|
static IScheduleEngineFactory |
getInstance()
Factory method which returns a singleton instnace of the ISchedulerEngineFactory
|
public static IScheduleEngineFactory getInstance()
public IPersistantSchedulerEngine create(IManagedComponent managedComponent) throws SchedulerException
create
in interface IScheduleEngineFactory
managedComponent
- An instance of Cordys managed component.IPersistantSchedulerEngine
associated with a particular database.SchedulerException
public IPersistantSchedulerEngine create(IManagedComponent managedComponent, boolean isPauseRequired) throws SchedulerException
create
in interface IScheduleEngineFactory
SchedulerException
@Deprecated public IPersistantSchedulerEngine create(int configuration) throws SchedulerException
create
in interface IScheduleEngineFactory
configuration
- The configuration node.
An example of configuration node
"<configuration>" +
"<dso dataSource =\"ttsl-poc1\" driver=\"OLEDB\" provider=\"SQLOLEDB\" userId=\"sa\" password=\"YzByZHlz\" update=\"true\" defaultDB=\"sidd-xds\"/>" +
"<read-connections>1</read-connections>" +
"<update-connections>1</update-connections>" +
"</configuration>";IPersistantSchedulerEngine
associated with a particular databaseSchedulerException
public IVolatileSchedulerEngine create(java.lang.String sEngineName)
IScheduleEngineFactory
create
in interface IScheduleEngineFactory
IVolatileSchedulerEngine
.