gr.uoa.di.madgik.grs.store.event
Class EventStoreFactory

java.lang.Object
  extended by gr.uoa.di.madgik.grs.store.event.EventStoreFactory

public class EventStoreFactory
extends java.lang.Object

This utility class is used to initialize an instance of an IEventStore according to system configuration. Since the only available implementation of IEventStore is currently FileEventStore, an instance of FileEventStore is always created

Author:
gpapanikos

Constructor Summary
EventStoreFactory()
           
 
Method Summary
static IEventStore getManager()
          Instantiates the appropriate IEventStore implementation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventStoreFactory

public EventStoreFactory()
Method Detail

getManager

public static IEventStore getManager()
                              throws GRS2EventStoreException
Instantiates the appropriate IEventStore implementation. Since the only available implementation of IEventStore is currently FileEventStore, an instance of FileEventStore is always returned

Returns:
the IEventStore implementation
Throws:
GRS2EventStoreException