Class TenantAdminUserAwareThreadFactory
- java.lang.Object
-
- de.hybris.platform.core.TenantAwareThreadFactory
-
- de.hybris.platform.integrationservices.util.TenantAdminUserAwareThreadFactory
-
- All Implemented Interfaces:
java.util.concurrent.ThreadFactory,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public final class TenantAdminUserAwareThreadFactory extends TenantAwareThreadFactory
AThreadFactorythat is aware of the tenant and Admin user for theJaloSession.
-
-
Constructor Summary
Constructors Constructor Description TenantAdminUserAwareThreadFactory(Tenant tenant)Instantiates a TenantAdminUserAwareThreadFactoryTenantAdminUserAwareThreadFactory(Tenant tenant, JaloSession session)Instantiates a TenantAdminUserAwareThreadFactory
-
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
-
TenantAdminUserAwareThreadFactory
public TenantAdminUserAwareThreadFactory(Tenant tenant)
Instantiates a TenantAdminUserAwareThreadFactory- Parameters:
tenant- The tenant to use
-
TenantAdminUserAwareThreadFactory
public TenantAdminUserAwareThreadFactory(Tenant tenant, JaloSession session)
Instantiates a TenantAdminUserAwareThreadFactory- Parameters:
tenant- The tenant to usesession- The session to use
-
-
Method Detail
-
afterPrepareThread
protected void afterPrepareThread()
Description copied from class:TenantAwareThreadFactoryCalled 'always' after prepare threads default logicTenantAwareThreadFactory.innerPrepareThread().Default empty logic.
- Overrides:
afterPrepareThreadin classTenantAwareThreadFactory
-
-