Home » quartz-1.6.0 » org » quartz » core » [javadoc | source]
org.quartz.core
public class: QuartzSchedulerResources [javadoc | source]
java.lang.Object
   org.quartz.core.QuartzSchedulerResources

Contains all of the resources (JobStore,ThreadPool, etc.) necessary to create a QuartzScheduler instance.

Field Summary
public static final  String CREATE_REGISTRY_NEVER     
public static final  String CREATE_REGISTRY_ALWAYS     
public static final  String CREATE_REGISTRY_AS_NEEDED     
Constructor:
 public QuartzSchedulerResources() 
Method from org.quartz.core.QuartzSchedulerResources Summary:
addSchedulerPlugin,   generateJMXObjectName,   getInstanceId,   getJMXExport,   getJMXObjectName,   getJobRunShellFactory,   getJobStore,   getMakeSchedulerThreadDaemon,   getName,   getRMIBindName,   getRMICreateRegistryStrategy,   getRMIRegistryHost,   getRMIRegistryPort,   getRMIServerPort,   getSchedulerPlugins,   getThreadName,   getThreadPool,   getUniqueIdentifier,   getUniqueIdentifier,   setInstanceId,   setJMXExport,   setJMXObjectName,   setJobRunShellFactory,   setJobStore,   setMakeSchedulerThreadDaemon,   setName,   setRMIBindName,   setRMICreateRegistryStrategy,   setRMIRegistryHost,   setRMIRegistryPort,   setRMIServerPort,   setThreadName,   setThreadPool
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.core.QuartzSchedulerResources Detail:
 public  void addSchedulerPlugin(SchedulerPlugin plugin) 
 public static String generateJMXObjectName(String schedName,
    String schedInstId) 
    Create the name under which this scheduler should be registered in JMX.

    The name is composed as: quartz:type=QuartzScheduler,name=[schedName],instance=[schedInstId]

 public String getInstanceId() 
 public boolean getJMXExport() 
    Get whether the QuartzScheduler should be registered with the local MBeanServer.
 public String getJMXObjectName() 
    Get the name under which the QuartzScheduler should be registered with the local MBeanServer. If unset, defaults to the value calculated by generateJMXObjectName.
 public JobRunShellFactory getJobRunShellFactory() 
 public JobStore getJobStore() 
 public boolean getMakeSchedulerThreadDaemon() 
    Get whether to mark the Quartz scheduling thread as daemon.
 public String getName() 
 public String getRMIBindName() 
    Get the name under which to bind the QuartzScheduler in RMI. Will return the value of the uniqueIdentifier property if explict RMI bind name was never set.
 public String getRMICreateRegistryStrategy() 

    Get the setting of whether or not Quartz should create an RMI Registry, and if so, how.

 public String getRMIRegistryHost() 

    Get 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 int getRMIServerPort() 

    Get the port number the scheduler server will be bound to.

 public List getSchedulerPlugins() 
 public String getThreadName() 
 public ThreadPool getThreadPool() 
 public String getUniqueIdentifier() 
 public static String getUniqueIdentifier(String schedName,
    String schedInstId) 
 public  void setInstanceId(String instanceId) 
 public  void setJMXExport(boolean jmxExport) 
    Set whether the QuartzScheduler should be registered with the local MBeanServer.
 public  void setJMXObjectName(String jmxObjectName) 
    Set the name under which the QuartzScheduler should be registered with the local MBeanServer. If unset, defaults to the value calculated by generateJMXObjectName.
 public  void setJobRunShellFactory(JobRunShellFactory jobRunShellFactory) 
 public  void setJobStore(JobStore jobStore) 
 public  void setMakeSchedulerThreadDaemon(boolean makeSchedulerThreadDaemon) 
    Set whether to mark the Quartz scheduling thread as daemon.
 public  void setName(String name) 
 public  void setRMIBindName(String rmiBindName) 
    Set the name under which to bind the QuartzScheduler in RMI. If unset, defaults to the value of the uniqueIdentifier property.
 public  void setRMICreateRegistryStrategy(String rmiCreateRegistryStrategy) 

    Set whether or not Quartz should create an RMI Registry, and if so, how.

 public  void setRMIRegistryHost(String hostName) 

    Set the host name 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  void setRMIServerPort(int port) 

    Set the port number the scheduler server will be bound to.

 public  void setThreadName(String threadName) 
 public  void setThreadPool(ThreadPool threadPool)