|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.quartz.core.QuartzSchedulerResources
Contains all of the resources (JobStore
,ThreadPool
,
etc.) necessary to create a
instance.
QuartzScheduler
QuartzScheduler
Field Summary | |
static String |
CREATE_REGISTRY_ALWAYS
|
static String |
CREATE_REGISTRY_AS_NEEDED
|
static String |
CREATE_REGISTRY_NEVER
|
Constructor Summary | |
QuartzSchedulerResources()
Create an instance with no properties initialized. |
Method Summary | |
String |
getInstanceId()
Get the instance Id for the . |
JobRunShellFactory |
getJobRunShellFactory()
Get the for the
to use. |
JobStore |
getJobStore()
Get the for the
to use. |
String |
getName()
Get the name for the . |
String |
getRMICreateRegistryStrategy()
Get the setting of whether or not Quartz should create an RMI Registry, and if so, how. |
String |
getRMIRegistryHost()
Get the host name of the RMI Registry that the scheduler should export itself to. |
int |
getRMIRegistryPort()
Get the port number of the RMI Registry that the scheduler should export itself to. |
int |
getRMIServerPort()
Get the port number the scheduler server will be bound to. |
String |
getThreadName()
Get the name for the . |
ThreadPool |
getThreadPool()
Get the for the
to use. |
String |
getUniqueIdentifier()
|
static String |
getUniqueIdentifier(String schedName,
String schedInstId)
|
void |
setInstanceId(String instanceId)
Set the name for the . |
void |
setJobRunShellFactory(JobRunShellFactory jobRunShellFactory)
Set the for the
to use. |
void |
setJobStore(JobStore jobStore)
Set the for the
to use. |
void |
setName(String name)
Set the name for the . |
void |
setRMICreateRegistryStrategy(String rmiCreateRegistryStrategy)
Set whether or not Quartz should create an RMI Registry, and if so, how. |
void |
setRMIRegistryHost(String hostName)
Set the host name of the RMI Registry that the scheduler should export itself to. |
void |
setRMIRegistryPort(int port)
Set the port number of the RMI Registry that the scheduler should export itself to. |
void |
setRMIServerPort(int port)
Set the port number the scheduler server will be bound to. |
void |
setThreadName(String threadName)
Set the name for the . |
void |
setThreadPool(ThreadPool threadPool)
Set the for the
to use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String CREATE_REGISTRY_NEVER
public static final String CREATE_REGISTRY_ALWAYS
public static final String CREATE_REGISTRY_AS_NEEDED
Constructor Detail |
public QuartzSchedulerResources()
Create an instance with no properties initialized.
Method Detail |
public String getName()
Get the name for the
.
QuartzScheduler
public void setName(String name)
Set the name for the
.
QuartzScheduler
IllegalArgumentException
- if name is null or empty.public String getInstanceId()
Get the instance Id for the
.
QuartzScheduler
public void setInstanceId(String instanceId)
Set the name for the
.
QuartzScheduler
IllegalArgumentException
- if name is null or empty.public static String getUniqueIdentifier(String schedName, String schedInstId)
public String getUniqueIdentifier()
public String getRMIRegistryHost()
Get the host name of the RMI Registry that the scheduler should export itself to.
public void setRMIRegistryHost(String hostName)
Set the host name of the RMI Registry that the scheduler should export itself to.
public int getRMIRegistryPort()
Get the port number of the RMI Registry that the scheduler should export itself to.
public void setRMIRegistryPort(int port)
Set the port number of the RMI Registry that the scheduler should export itself to.
public int getRMIServerPort()
Get the port number the scheduler server will be bound to.
public void setRMIServerPort(int port)
Set the port number the scheduler server will be bound to.
public String getRMICreateRegistryStrategy()
Get the setting of whether or not Quartz should create an RMI Registry, and if so, how.
public String getThreadName()
Get the name for the
.
QuartzSchedulerThread
public void setThreadName(String threadName)
Set the name for the
.
QuartzSchedulerThread
IllegalArgumentException
- if name is null or empty.public void setRMICreateRegistryStrategy(String rmiCreateRegistryStrategy)
Set whether or not Quartz should create an RMI Registry, and if so, how.
CREATE_REGISTRY_ALWAYS
,
CREATE_REGISTRY_AS_NEEDED
,
CREATE_REGISTRY_NEVER
public ThreadPool getThreadPool()
Get the
for the ThreadPool
to use.
QuartzScheduler
public void setThreadPool(ThreadPool threadPool)
Set the
for the ThreadPool
to use.
QuartzScheduler
IllegalArgumentException
- if threadPool is null.public JobStore getJobStore()
Get the
for the JobStore
to use.
QuartzScheduler
public void setJobStore(JobStore jobStore)
Set the
for the JobStore
to use.
QuartzScheduler
IllegalArgumentException
- if jobStore is null.public JobRunShellFactory getJobRunShellFactory()
Get the
for the JobRunShellFactory
to use.
QuartzScheduler
public void setJobRunShellFactory(JobRunShellFactory jobRunShellFactory)
Set the
for the JobRunShellFactory
to use.
QuartzScheduler
IllegalArgumentException
- if jobRunShellFactory is null.
|
Quartz Enterprise Job Scheduler Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |