Search in sources :

Example 1 with ApiResourcesManager

use of com.bluenimble.platform.api.ApiResourcesManager in project serverless by bluenimble.

the class DefaultApiServicesManager method load.

@Override
public void load(Api api) throws ApiServicesManagerException {
    this.api = (ApiImpl) api;
    ApiResourcesManager rmgr = api.getResourcesManager();
    try {
        load(rmgr, rmgr.get(new String[] { ConfigKeys.Folders.Services }));
    } catch (ApiResourcesManagerException e) {
        throw new ApiServicesManagerException(e.getMessage(), e);
    }
}
Also used : ApiServicesManagerException(com.bluenimble.platform.api.ApiServicesManagerException) ApiResourcesManager(com.bluenimble.platform.api.ApiResourcesManager) ApiResourcesManagerException(com.bluenimble.platform.api.ApiResourcesManagerException)

Aggregations

ApiResourcesManager (com.bluenimble.platform.api.ApiResourcesManager)1 ApiResourcesManagerException (com.bluenimble.platform.api.ApiResourcesManagerException)1 ApiServicesManagerException (com.bluenimble.platform.api.ApiServicesManagerException)1