Class RequestIdOperationContextAttributes
java.lang.Object
com.hybris.cockpitng.core.spring.RequestOperationContextManager
com.hybris.backoffice.cockpitng.util.impl.RequestIdOperationContextAttributes
- All Implemented Interfaces:
BackofficeThreadRequestAttributes,EventListener,javax.servlet.ServletRequestListener
public class RequestIdOperationContextAttributes
extends com.hybris.cockpitng.core.spring.RequestOperationContextManager
implements BackofficeThreadRequestAttributes
A request operation context manager that assures that request id is copied to
BackofficeThreadContextCreator executors.-
Field Summary
Fields inherited from class com.hybris.cockpitng.core.spring.RequestOperationContextManager
ATTRIBUTE_REQUEST_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(javax.servlet.ServletRequest request, String attribute) Gets attribute value to be copied.getAttributeNames(javax.servlet.ServletRequest request) Gets attributes to be copied from specified requestMethods inherited from class com.hybris.cockpitng.core.spring.RequestOperationContextManager
getRequestId, requestDestroyed, requestInitialized
-
Constructor Details
-
RequestIdOperationContextAttributes
public RequestIdOperationContextAttributes()
-
-
Method Details
-
getAttributeNames
Description copied from interface:BackofficeThreadRequestAttributesGets attributes to be copied from specified request- Specified by:
getAttributeNamesin interfaceBackofficeThreadRequestAttributes- Parameters:
request- request that causedBackofficeThreadContextCreatorspawn new executor- Returns:
- enumeration of attribute names
-
getAttribute
Description copied from interface:BackofficeThreadRequestAttributesGets attribute value to be copied.- Specified by:
getAttributein interfaceBackofficeThreadRequestAttributes- Parameters:
request- request that causedBackofficeThreadContextCreatorspawn new executorattribute- name of attribute picked for copying- Returns:
- value of attribute
-