public void deregisterApplicationPermissions() {
Util.toDo("Deregister application permissions");
}
private synchronized void reloadAll() throws Exception {
CoreMessageResources resources = CoreServlet.getServlet().getExtensionStoreResources();
for (ExtensionBundle extensionBundle : extensionBundles.values()) {
for (ExtensionDescriptor descriptor : extensionBundle) {
Collection<String> toRemove = new ArrayList<String>();
for (Iterator itr = resources.keys(); itr.hasNext();) {
String key = (String) itr.next();
if (key.startsWith("application." + descriptor.getId() + ".")) {
toRemove.add(key);
}
}
for (Iterator itr = toRemove.iterator(); itr.hasNext();) {
resources.removeKey((String) itr.next());
}
}
}
extensionBundles.clear();