Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

nectar.scheduler
Class SchedulerConfiguration  view SchedulerConfiguration download SchedulerConfiguration.java

java.lang.Object
  extended bynectar.configuration.Configuration
      extended bynectar.scheduler.SchedulerConfiguration

public class SchedulerConfiguration
extends nectar.configuration.Configuration

This is the Configuration Class for the SchedulerService, it parse the nectar_config.xml file for scheduled tasks, and sets them up in the SchedulerService.


Field Summary
protected  int initialPause
           
protected  java.util.LinkedList jobList
           
private static org.apache.commons.logging.Log log
           
static java.lang.String SERVICE_NAME
           
 
Fields inherited from class nectar.configuration.Configuration
configElement, enabled, service
 
Constructor Summary
SchedulerConfiguration()
          Creates a new instance of SchedulerConfiguration
 
Method Summary
 int getInitialPause()
           
 java.util.List getJobList()
           
 void parse()
          Parses the Scheduler configuration element of the nectar_config.xml file.
protected  void parseInitialPause()
           
protected  void parseScheduledActionSets()
           
 
Methods inherited from class nectar.configuration.Configuration
getConfigElement, getService, getServiceName, isEnabled, setConfigElement, setEnabled, setService, setServiceName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values

initialPause

protected int initialPause

jobList

protected java.util.LinkedList jobList

log

private static org.apache.commons.logging.Log log
Constructor Detail

SchedulerConfiguration

public SchedulerConfiguration()
Creates a new instance of SchedulerConfiguration

Method Detail

getJobList

public java.util.List getJobList()

getInitialPause

public int getInitialPause()

parse

public void parse()
           throws nectar.configuration.ConfigurationException
Parses the Scheduler configuration element of the nectar_config.xml file.


parseInitialPause

protected void parseInitialPause()
                          throws nectar.configuration.ConfigurationException

parseScheduledActionSets

protected void parseScheduledActionSets()
                                 throws nectar.configuration.ConfigurationException