public static Class<?> getProxyClass(GUID guid) { synchronized (proxyCache) { return proxyCache.get(guid); } }
private AspectManager findManagerByNameInternal(String name) { return subDomainsByName.get(name); }
public static HashMap<Long, MethodPersistentReference> getMethodMap(String classname) { synchronized (maplock) { Class<?> clazz = classnameMap.get(classname); if (clazz == null) return null; return (HashMap<Long, MethodPersistentReference>) methodMapCache.get(clazz); } }
ItemImpl reload(String identifier, ItemData newItemData) throws RepositoryException { ItemImpl item = items.get(identifier); if (item != null) { item.loadData(newItemData); return item; } return null; }
iface = (Class) classCache.get(className);
resolvedClass = (Class) classCache.get(className);
/** * Get ItemImpl from the pool using given data. * * @param newData ItemData * @param parent nodeData * @return ItemImpl item * @throws RepositoryException */ ItemImpl get(final ItemData newData, final NodeData parent) throws RepositoryException { final String identifier = newData.getIdentifier(); ItemImpl item = items.get(identifier); if (item != null) { item.loadData(newData, parent); } else { item = itemFactory.createItem(newData, parent); items.put(item.getInternalIdentifier(), item); } return item; }