Class DefaultSessionFactory

java.lang.Object
de.hybris.platform.servicelayer.session.impl.DefaultSessionFactory
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean

public class DefaultSessionFactory extends 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.
  • Constructor Details

    • DefaultSessionFactory

      public DefaultSessionFactory()
  • Method Details

    • getObject

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

      public 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(String clazz)