Package de.hybris.platform.core
Interface TenantListener
- All Known Implementing Classes:
DefaultIntegrationTenantLifecycle,DefaultSolrClientPool.SolrClientPoolTenantListener,DefaultTenantLifecycle,JMXBeanLoader,RuntimeConfigUpdateListener
public interface TenantListener
By implementing this interface the listener instance can be notified about start up and shut down of a
Tenant
. For getting notifications you have to call the Registry.registerTenantListener(TenantListener) method
usually at constructor of your manager class.- Since:
- 3.1-u1
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterSetActivateSession(Tenant tenant) voidafterTenantStartUp(Tenant tenant) Will be called if a tenant has successfully started.voidbeforeTenantShutDown(Tenant tenant) Will be called if a tenant is about to shut down.voidbeforeUnsetActivateSession(Tenant tenant)
-
Method Details
-
afterTenantStartUp
Will be called if a tenant has successfully started.- Parameters:
tenant- the tenant which was started
-
beforeTenantShutDown
Will be called if a tenant is about to shut down.- Parameters:
tenant- tenant which will be shut down
-
afterSetActivateSession
-
beforeUnsetActivateSession
-