gr.uoa.di.madgik.grs.store.record
Class RecordStoreFactory

java.lang.Object
  extended by gr.uoa.di.madgik.grs.store.record.RecordStoreFactory

public class RecordStoreFactory
extends java.lang.Object

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

Author:
gpapanikos

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

Constructor Detail

RecordStoreFactory

public RecordStoreFactory()
Method Detail

getManager

public static IRecordStore getManager()
                               throws GRS2RecordStoreException
Instantiates the appropriate IRecordStore implementation. Since the only available implementation of IRecordStore is currently FileRecordStore, an instance of FileRecordStore is always returned

Returns:
the IRecordStore implementation
Throws:
GRS2RecordStoreException