private static TenantPersistor tenantPersistor;
private static TenantRegistryLoader registryLoader;
protected void activate(ComponentContext context) {
try {
tenantPersistor = new DefaultTenantPersistor();
bundleContext = context.getBundleContext();
bundleContext.registerService(TenantPersistor.class.getName(), tenantPersistor, null);
log.debug("******* Tenant Core bundle is activated ******* ");
} catch (Exception e) {
log.error("Error occurred while activating tenant.mgt.core bundle. " + e);