public class SimpleEventCalendarFactory extends Object implements org.springframework.beans.factory.FactoryBean<EventCalendar>
Modifier and Type | Field and Description |
---|---|
protected ClockReader |
clockReader |
protected Comparator<SimulationEvent> |
eventComparator |
protected Collection<SimulationEvent> |
simulationEvents |
Constructor and Description |
---|
SimpleEventCalendarFactory(ClockReader clockReader,
Comparator<SimulationEvent> eventComparator) |
SimpleEventCalendarFactory(ClockReader clockReader,
Comparator<SimulationEvent> eventComparator,
Collection<SimulationEvent> simulationEvents) |
Modifier and Type | Method and Description |
---|---|
SimpleEventCalendar |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
protected final Collection<SimulationEvent> simulationEvents
protected Comparator<SimulationEvent> eventComparator
protected final ClockReader clockReader
public SimpleEventCalendarFactory(ClockReader clockReader, Comparator<SimulationEvent> eventComparator, Collection<SimulationEvent> simulationEvents)
public SimpleEventCalendarFactory(ClockReader clockReader, Comparator<SimulationEvent> eventComparator)
public SimpleEventCalendar getObject()
getObject
in interface org.springframework.beans.factory.FactoryBean<EventCalendar>
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<EventCalendar>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<EventCalendar>
Copyright © 2016 Alfresco. All rights reserved.