Class TenantAdminUserAwareThreadFactory
java.lang.Object
de.hybris.platform.core.TenantAwareThreadFactory
de.hybris.platform.integrationservices.util.TenantAdminUserAwareThreadFactory
- All Implemented Interfaces:
ThreadFactory,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
A
ThreadFactory that is aware of the tenant and Admin user for the JaloSession.-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a TenantAdminUserAwareThreadFactoryTenantAdminUserAwareThreadFactory(Tenant tenant, JaloSession session) Instantiates a TenantAdminUserAwareThreadFactory -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCalled 'always' after prepare threads default logicTenantAwareThreadFactory.innerPrepareThread().Methods inherited from class de.hybris.platform.core.TenantAwareThreadFactory
afterPropertiesSet, afterUnprepareThread, beforePrepareThread, beforeUnprepareThread, newThread, setBeanName
-
Constructor Details
-
TenantAdminUserAwareThreadFactory
Instantiates a TenantAdminUserAwareThreadFactory- Parameters:
tenant- The tenant to use
-
TenantAdminUserAwareThreadFactory
Instantiates a TenantAdminUserAwareThreadFactory- Parameters:
tenant- The tenant to usesession- The session to use
-
-
Method Details
-
afterPrepareThread
protected void afterPrepareThread()Description copied from class:TenantAwareThreadFactoryCalled 'always' after prepare threads default logicTenantAwareThreadFactory.innerPrepareThread().Default empty logic.
- Overrides:
afterPrepareThreadin classTenantAwareThreadFactory
-