コード例 #1
0
ファイル: ApplicationRegistry.java プロジェクト: barnyard/pi
 public synchronized ApplicationRecord getCachedApplicationRecord(String applicationName) {
   ApplicationInfo existing = applicationHash.get(applicationName);
   if (existing == null)
     throw new UnknownApplicationException(String.format(UNKNOWN_APPLICATION_S, applicationName));
   ApplicationRecord res = existing.getCachedApplicationRecord();
   LOG.debug(
       String.format(this + " Returning cached app record for %s: %s", applicationName, res));
   return res;
 }