de.novanic.eventservice.service.registry
Class EventRegistryFactory

java.lang.Object
  extended by de.novanic.eventservice.service.registry.EventRegistryFactory

public class EventRegistryFactory
extends java.lang.Object

The EventRegistryFactory is used to create the EventRegistry and to ensure that only one instance of EventRegistryFactory and EventRegistry exists (singleton).

Author:
sstrohschein
Date: 09.06.2008
Time: 22:46:51
See Also:
EventRegistry

Method Summary
 EventRegistry getEventRegistry()
          This method should be used to create an instance of EventRegistry.
static EventRegistryFactory getInstance()
          This method should be used to create an instance of EventRegistryFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static EventRegistryFactory getInstance()
This method should be used to create an instance of EventRegistryFactory. EventRegistryFactory is a singleton, so this method returns always the same instance of EventRegistryFactory.

Returns:
EventRegistryFactory (singleton)

getEventRegistry

public EventRegistry getEventRegistry()
This method should be used to create an instance of EventRegistry. EventRegistry is a singleton, so this method returns always the same instance of EventRegistry.

Returns:
EventRegistry (singleton)