Search in sources :

Example 1 with TenantRegistryLoader

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);
}
Also used : TenantRegistryLoader(org.wso2.carbon.registry.core.service.TenantRegistryLoader)

Example 2 with TenantRegistryLoader

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);
}
Also used : TenantRegistryLoader(org.wso2.carbon.registry.core.service.TenantRegistryLoader)

Example 3 with TenantRegistryLoader

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);
}
Also used : TenantRegistryLoader(org.wso2.carbon.registry.core.service.TenantRegistryLoader)

Aggregations

TenantRegistryLoader (org.wso2.carbon.registry.core.service.TenantRegistryLoader)3