Class GenericSessionFactory


  • public class GenericSessionFactory
    extends GorSessionFactory
    Factory class for creating default/generic gor sessions. This factory replaces the createDefaultSession() method.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.gorpipe.gor.session.GorSession create()  
      void setConfigFile​(java.lang.String configFile)  
      • Methods inherited from class java.lang.Object

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

      • GenericSessionFactory

        public GenericSessionFactory()
      • GenericSessionFactory

        public GenericSessionFactory​(java.lang.String root,
                                     java.lang.String cacheDir)
    • Method Detail

      • setConfigFile

        public void setConfigFile​(java.lang.String configFile)
      • create

        public org.gorpipe.gor.session.GorSession create()
        Specified by:
        create in class org.gorpipe.gor.session.GenericFactory<org.gorpipe.gor.session.GorSession>