org.jboss.soa.esb.schedule
Class ScheduleProvider

java.lang.Object
  extended by org.jboss.soa.esb.schedule.ScheduleProvider

Deprecated. ScheduleResource

public class ScheduleProvider
extends java.lang.Object

Schedule Provider.

Manages all of the configured scheduled jobs and their listeners.

Author:
Daniel Bevenius, tom.fennelly@jboss.com

Nested Class Summary
static class ScheduleProvider.ESBScheduledJob
          Deprecated.  
 
Constructor Summary
ScheduleProvider(java.util.Properties properties, java.util.List<Schedule> schedules)
          Deprecated.  
 
Method Summary
 void addListener(ScheduledEventListener listener, long scheduleFrequency)
          Deprecated.  
 void addListener(ScheduledEventListener listener, java.lang.String scheduleId)
          Deprecated.  
 void start()
          Deprecated. Start the scheduler.
 void stop()
          Deprecated. Stop the scheduler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleProvider

public ScheduleProvider(java.util.Properties properties,
                        java.util.List<Schedule> schedules)
                 throws ConfigurationException
Deprecated. 
Throws:
ConfigurationException
Method Detail

addListener

public void addListener(ScheduledEventListener listener,
                        java.lang.String scheduleId)
                 throws SchedulingException,
                        ConfigurationException
Deprecated. 
Throws:
SchedulingException
ConfigurationException

addListener

public void addListener(ScheduledEventListener listener,
                        long scheduleFrequency)
                 throws SchedulingException
Deprecated. 
Throws:
SchedulingException

start

public void start()
           throws SchedulingException
Deprecated. 
Start the scheduler.

Throws:
SchedulingException - Start failed.

stop

public void stop()
          throws SchedulingException
Deprecated. 
Stop the scheduler.

Throws:
SchedulingException - Stop failed.