com.stratelia.webactiv.almanach.control.ejb
Class EventOccurrenceGeneratorFactory

java.lang.Object
  extended by com.stratelia.webactiv.almanach.control.ejb.EventOccurrenceGeneratorFactory

public class EventOccurrenceGeneratorFactory
extends Object

A factory of EventOccurrenceGenerator instances. It manages the life-cycle of the generators and abstracts the concrete implementation used to generate event occurrences.


Constructor Summary
EventOccurrenceGeneratorFactory()
           
 
Method Summary
 EventOccurrenceGenerator getEventOccurrenceGenerator()
          Gets a generator of event occurrences.
static EventOccurrenceGeneratorFactory getFactory()
          Gets a factory of event occurrences generators.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventOccurrenceGeneratorFactory

public EventOccurrenceGeneratorFactory()
Method Detail

getFactory

public static EventOccurrenceGeneratorFactory getFactory()
Gets a factory of event occurrences generators. The returned factory abstracts the concrete implementation of the EventOccurrenceGenerator interface.

Returns:
an EventOccurrenceGeneratorFactory instance.

getEventOccurrenceGenerator

public EventOccurrenceGenerator getEventOccurrenceGenerator()
Gets a generator of event occurrences.

Returns:
an instance of the EventOccurrenceGenerator interface.


Copyright © 2016 Silverpeas. All Rights Reserved.