Package com.hybris.backoffice.spring
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetId()voidinit()protected voidvoidsessionClosed(Object session) An existing session has been closed.voidsessionCreated(Object session) New session has been created.
-
Constructor Details
-
FallbackRequestOperationScopeController
public FallbackRequestOperationScopeController()
-
-
Method Details
-
getId
- Specified by:
getIdin interfacecom.hybris.cockpitng.core.model.Identifiable
-
init
public void init() -
sessionCreated
Description copied from interface:PersistenceLayerSessionListenerNew session has been created.Depending on type of persistence, different session objects may be provided.
- Specified by:
sessionCreatedin interfacePersistenceLayerSessionListener- Parameters:
session- session object representing newly created one- See Also:
-
initializeContext
protected void initializeContext() -
sessionClosed
Description copied from interface:PersistenceLayerSessionListenerAn existing session has been closed.Depending on type of persistence, different session objects may be provided.
- Specified by:
sessionClosedin interfacePersistenceLayerSessionListener- Parameters:
session- session object representing closed one- See Also:
-
finalizeContext
protected void finalizeContext()
-