Package de.hybris.platform.outboundsync
Class OutboundSyncTenantUserAwareThreadFactory
- java.lang.Object
-
- de.hybris.platform.core.TenantAwareThreadFactory
-
- de.hybris.platform.outboundsync.OutboundSyncTenantUserAwareThreadFactory
-
- All Implemented Interfaces:
java.util.concurrent.ThreadFactory,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class OutboundSyncTenantUserAwareThreadFactory extends TenantAwareThreadFactory
AThreadFactorythat is aware of the tenant and user for theJaloSession. Currently, the user is set to the Admin user.
-
-
Constructor Summary
Constructors Constructor Description OutboundSyncTenantUserAwareThreadFactory(Tenant tenant)OutboundSyncTenantUserAwareThreadFactory(Tenant tenant, JaloSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterPrepareThread()Called 'always' after prepare threads default logicTenantAwareThreadFactory.innerPrepareThread().-
Methods inherited from class de.hybris.platform.core.TenantAwareThreadFactory
afterPropertiesSet, afterUnprepareThread, beforePrepareThread, beforeUnprepareThread, newThread, setBeanName
-
-
-
-
Constructor Detail
-
OutboundSyncTenantUserAwareThreadFactory
public OutboundSyncTenantUserAwareThreadFactory(Tenant tenant)
-
OutboundSyncTenantUserAwareThreadFactory
public OutboundSyncTenantUserAwareThreadFactory(Tenant tenant, JaloSession session)
-
-
Method Detail
-
afterPrepareThread
protected void afterPrepareThread()
Description copied from class:TenantAwareThreadFactoryCalled 'always' after prepare threads default logicTenantAwareThreadFactory.innerPrepareThread().Default empty logic.
- Overrides:
afterPrepareThreadin classTenantAwareThreadFactory
-
-