Class ObjectStoreFactory


  • public final class ObjectStoreFactory
    extends java.lang.Object
    Produce ObjectStores
    Author:
    Mark Woodbridge
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ObjectStore getObjectStore​(java.lang.String alias)
      Return an ObjectStore configured using properties
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getObjectStore

        public static ObjectStore getObjectStore​(java.lang.String alias)
                                          throws java.lang.Exception
        Return an ObjectStore configured using properties
        Parameters:
        alias - the relevant prefix for the properties
        Returns:
        a new ObjectStore
        Throws:
        java.lang.Exception - if an error occurs in instantiating the ObjectStore