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)
Manager
loadConfigurations
in interface Manager
configurations
- Dictionary of configurationspublic boolean init()
Manager
public void dispose()
Manager
public void registerTenant(String tenantID, String tenantDescription)
TenantManager
registerTenant
in interface TenantManager
tenantID
- ID of the tenanttenantDescription
- description of the tenantpublic void unregisterTenant(String tenantID)
TenantManager
unregisterTenant
in interface TenantManager
public Map<String,String> getTenants()
TenantManager
getTenants
in interface TenantManager
public void addTenantListener(TenantListener tenantListener)
addTenantListener
in interface TenantManager
public void removeTenantListener(TenantListener tenantListener)
removeTenantListener
in interface TenantManager
Copyright © 2018 universAAL Consortium. All rights reserved.