Class SAPHybrisSession


  • public class SAPHybrisSession
    extends java.lang.Object
    SAP hybris Session container which keeps the session relevant information for the SAP integration.
    • Constructor Detail

      • SAPHybrisSession

        public SAPHybrisSession()
        Default constructor.
    • Method Detail

      • getSessionId

        public java.lang.String getSessionId()
        Gets the session id.
        Returns:
        the sessionId
      • setSessionId

        public void setSessionId​(java.lang.String sessionId)
        Sets the session id.
        Parameters:
        sessionId - the sessionId to set
      • setSessionObjectFactory

        public void setSessionObjectFactory​(SessionObjectFactory sessionObjectFactory)
        Sets the session object factory.
        Parameters:
        sessionObjectFactory - Session object factory
      • getSessionObjectFactory

        public SessionObjectFactory getSessionObjectFactory()
        Gets the session object factory.
        Returns:
        Session object factory
      • getApplicationName

        public java.lang.String getApplicationName()
        Gets the application name.
        Returns:
        Application name
      • setApplicationName

        public void setApplicationName​(java.lang.String applicationName)
        Sets the application name.
        Parameters:
        applicationName - Application name to set
      • destroy

        public void destroy()
        Frees up session relevant information.