use of org.wso2.carbon.registry.core.service.TenantRegistryLoader in project carbon-apimgt by wso2.
the class RegistryPersistenceImpl method loadTenantRegistry.
protected void loadTenantRegistry(int apiTenantId) throws RegistryException {
TenantRegistryLoader tenantRegistryLoader = PersistenceManagerComponent.getTenantRegistryLoader();
ServiceReferenceHolder.getInstance().getIndexLoaderService().loadTenantIndex(apiTenantId);
tenantRegistryLoader.loadTenantRegistry(apiTenantId);
}
use of org.wso2.carbon.registry.core.service.TenantRegistryLoader in project carbon-apimgt by wso2.
the class RegistryPersistenceUtil method loadTenantRegistry.
public static void loadTenantRegistry(int tenantId) throws RegistryException {
TenantRegistryLoader tenantRegistryLoader = PersistenceManagerComponent.getTenantRegistryLoader();
ServiceReferenceHolder.getInstance().getIndexLoaderService().loadTenantIndex(tenantId);
tenantRegistryLoader.loadTenantRegistry(tenantId);
}
use of org.wso2.carbon.registry.core.service.TenantRegistryLoader in project carbon-apimgt by wso2.
the class APIUtil method loadTenantRegistry.
public static void loadTenantRegistry(int tenantId) throws RegistryException {
TenantRegistryLoader tenantRegistryLoader = APIManagerComponent.getTenantRegistryLoader();
ServiceReferenceHolder.getInstance().getIndexLoaderService().loadTenantIndex(tenantId);
tenantRegistryLoader.loadTenantRegistry(tenantId);
}
Aggregations