Class DefaultSessionFactory

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean

    public class DefaultSessionFactory
    extends java.lang.Object
    implements org.springframework.beans.factory.FactoryBean
    Factory class for a (default) Session. Will instanciate an object from type Session or a subtype of session if provided.
    • Field Summary

      • Fields inherited from interface org.springframework.beans.factory.FactoryBean

        OBJECT_TYPE_ATTRIBUTE
    • Constructor Detail

      • DefaultSessionFactory

        public DefaultSessionFactory()
    • Method Detail

      • getObject

        public java.lang.Object getObject()
                                   throws java.lang.Exception
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean
        Throws:
        java.lang.Exception
      • getObjectType

        public java.lang.Class getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean
      • setSessionClass

        public void setSessionClass​(java.lang.String clazz)