Class FallbackRequestOperationScopeController

java.lang.Object
com.hybris.backoffice.spring.FallbackRequestOperationScopeController
All Implemented Interfaces:
PersistenceLayerSessionListener, com.hybris.cockpitng.core.model.Identifiable

public class FallbackRequestOperationScopeController extends Object implements PersistenceLayerSessionListener, com.hybris.cockpitng.core.model.Identifiable
A JaloSessionListener that manages RequestOperationScope for those threads that are not bound to any HttpRequest nor LongOperation triggered by HttpRequest.
  • Constructor Details

    • FallbackRequestOperationScopeController

      public FallbackRequestOperationScopeController()
  • Method Details

    • getId

      public Object getId()
      Specified by:
      getId in interface com.hybris.cockpitng.core.model.Identifiable
    • init

      public void init()
    • sessionCreated

      public void sessionCreated(Object session)
      Description copied from interface: PersistenceLayerSessionListener
      New session has been created.

      Depending on type of persistence, different session objects may be provided.

      Specified by:
      sessionCreated in interface PersistenceLayerSessionListener
      Parameters:
      session - session object representing newly created one
      See Also:
    • initializeContext

      protected void initializeContext()
    • sessionClosed

      public void sessionClosed(Object session)
      Description copied from interface: PersistenceLayerSessionListener
      An existing session has been closed.

      Depending on type of persistence, different session objects may be provided.

      Specified by:
      sessionClosed in interface PersistenceLayerSessionListener
      Parameters:
      session - session object representing closed one
      See Also:
    • finalizeContext

      protected void finalizeContext()