Package de.hybris.platform.core
Interface TenantListener
-
- All Known Implementing Classes:
DefaultSolrClientPool.SolrClientPoolTenantListener,JMXBeanLoader,RuntimeConfigUpdateListener
public interface TenantListenerBy implementing this interface the listener instance can be notified about start up and shut down of aTenant. For getting notifications you have to call theRegistry.registerTenantListener(TenantListener)method usually at constructor of your manager class.- Since:
- 3.1-u1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterSetActivateSession(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 Detail
-
afterTenantStartUp
void afterTenantStartUp(Tenant tenant)
Will be called if a tenant has successfully started.- Parameters:
tenant- the tenant which was started
-
beforeTenantShutDown
void beforeTenantShutDown(Tenant tenant)
Will be called if a tenant is about to shut down.- Parameters:
tenant- tenant which will be shut down
-
afterSetActivateSession
void afterSetActivateSession(Tenant tenant)
-
beforeUnsetActivateSession
void beforeUnsetActivateSession(Tenant tenant)
-
-