lockRegistry(RegistryLock.READ); try
protected void unregisterPortletApplication(PortletApplication pa, boolean purgeEntityInfo) throws RegistryException { updateSearchEngine(true,pa); // todo keep (User)Prefs? lockRegistry(RegistryLock.WRITE); try { registry.removeApplication(pa); } finally { unlockRegistry(RegistryLock.WRITE); } revokeDefaultPermissions(pa.getName()); }
lockRegistry(RegistryLock.READ); try
lockRegistry(RegistryLock.READ); try
lockRegistry(RegistryLock.WRITE); try