
public class TenantManagerImpl extends Object implements TenantManager
| Constructor and Description |
|---|
TenantManagerImpl(ModuleContext module) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTenantListener(TenantListener tenantListener) |
void |
dispose()
Release all the resources
|
Map<String,String> |
getTenants()
Retrieves the map of tenants
|
boolean |
init()
Initialize the Space Manager
|
void |
loadConfigurations(Dictionary configurations)
This method sets all the configurations for the SpaceManager
|
void |
registerTenant(String tenantID,
String tenantDescription)
Register a new tenant to the manager
|
void |
removeTenantListener(TenantListener tenantListener) |
void |
unregisterTenant(String tenantID)
Unregisters an existing tenant
|
public TenantManagerImpl(ModuleContext module)
public void loadConfigurations(Dictionary configurations)
ManagerloadConfigurations in interface Managerconfigurations - Dictionary of configurationspublic boolean init()
Managerpublic void dispose()
Managerpublic void registerTenant(String tenantID, String tenantDescription)
TenantManagerregisterTenant in interface TenantManagertenantID - ID of the tenanttenantDescription - description of the tenantpublic void unregisterTenant(String tenantID)
TenantManagerunregisterTenant in interface TenantManagerpublic Map<String,String> getTenants()
TenantManagergetTenants in interface TenantManagerpublic void addTenantListener(TenantListener tenantListener)
addTenantListener in interface TenantManagerpublic void removeTenantListener(TenantListener tenantListener)
removeTenantListener in interface TenantManagerCopyright © 2018 universAAL Consortium. All rights reserved.