// asset path
ModuleURI assetURI = (ModuleURI)getAssetURI();
String moduleName = assetURI.getModuleName();
String serverURL = assetURI.getServerURL();
ServerCache serverCache = ServerCache.getServerCache(serverURL);
if (serverCache == null) {
logger.warning("Unable to locate cache of modules for the server " + serverURL);
return null;
}
CachedModule cachedModule = serverCache.getModule(moduleName);
if (cachedModule == null) {
logger.warning("Unable to locate module " + moduleName +
" on the server " + serverURL);
return null;
}