Package de.hybris.platform.spring
Class HybrisRequestScope
java.lang.Object
de.hybris.platform.spring.HybrisRequestScope
- All Implemented Interfaces:
org.springframework.beans.factory.config.Scope,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean
public class HybrisRequestScope
extends Object
implements org.springframework.beans.factory.config.Scope, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Custom scope for binding beans to the time a jalo session has been activated. This is similar to the standard request
scope. It belongs to a single thread only. Please note that each time a different session is being activated the
current scope is deleted.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()protected de.hybris.platform.spring.ScopeMapprotected de.hybris.platform.spring.ScopeMapvoidregisterDestructionCallback(String name, Runnable callback)
-
Constructor Details
-
HybrisRequestScope
public HybrisRequestScope()
-
-
Method Details
-
getCacheMap
protected de.hybris.platform.spring.ScopeMap getCacheMap() -
getCacheMapIfExists
protected de.hybris.platform.spring.ScopeMap getCacheMapIfExists() -
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
get
- Specified by:
getin interfaceorg.springframework.beans.factory.config.Scope
-
getConversationId
- Specified by:
getConversationIdin interfaceorg.springframework.beans.factory.config.Scope
-
registerDestructionCallback
- Specified by:
registerDestructionCallbackin interfaceorg.springframework.beans.factory.config.Scope
-
remove
- Specified by:
removein interfaceorg.springframework.beans.factory.config.Scope
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
resolveContextualObject
- Specified by:
resolveContextualObjectin interfaceorg.springframework.beans.factory.config.Scope
-