gr.uoa.di.madgik.grs.store.event
Class EventStoreFactory
java.lang.Object
gr.uoa.di.madgik.grs.store.event.EventStoreFactory
public class EventStoreFactory
- extends 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventStoreFactory
public EventStoreFactory()
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
Copyright © 2012. All Rights Reserved.