org.ikasan.framework.initiator.scheduled.quartz
Class HolidayCalendarFactory
java.lang.Object
org.ikasan.framework.initiator.scheduled.quartz.HolidayCalendarFactory
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean
public class HolidayCalendarFactory
- extends Object
- implements org.springframework.beans.factory.FactoryBean
Spring FactoryBean implementation for the Quartz Holiday Calendar.
This factory allows the setting of holiday dates to be excluded from a schedule via a list of Calendars.
Additionally, any Quartz Calendar may be set as a base calendar to allow overlay (stacking) of calendars).
- Author:
- Ikasan Development Team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HolidayCalendarFactory
public HolidayCalendarFactory()
setExcludedDates
public void setExcludedDates(List<Calendar> excludedDates)
- Set a new list of excluded java.util.Calendar dates for the holiday calendar.
- Parameters:
excludedDates - - The excluded dates to set
setBaseCalendar
public void setBaseCalendar(org.quartz.Calendar baseCalendar)
- Set the base org.quartz.Calendar for this holiday calendar.
- Parameters:
baseCalendar - - The base quartz calendar
getObject
public Object getObject()
- Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean
Copyright © 2007-2012 Ikasan. All Rights Reserved.