eXo Kernel :: Container 2.4.4-CLD

org.exoplatform.container.multitenancy
Interface TenantsStateListener


public interface TenantsStateListener

Listener for Tenant state events in multitenant environment.
This listener can be explicitly added to (and later removed from) TenantsService or its implementation can be registered in eXo container. In last case to remove the listener unregister it from the container.

Author:
Peter Nedonosko

Method Summary
 void tenantStarted(Tenant tenant)
          Action on tenant start (creation or resuming).
 void tenantStopped(Tenant tenant)
          Action on tenant stop (removal or suspend).
 

Method Detail

tenantStopped

void tenantStopped(Tenant tenant)
Action on tenant stop (removal or suspend).

Parameters:
tenant - Tenant

tenantStarted

void tenantStarted(Tenant tenant)
Action on tenant start (creation or resuming).

Parameters:
tenant - Tenant

eXo Kernel :: Container 2.4.4-CLD

Copyright © 2013 eXo Platform SAS. All Rights Reserved.