private void uninstall(String type, Application application) {
logger.log(Level.FINE, "Uninstall "+type+" of application '"+application.getUri()+"'");
for ( Iterator i = application.getContent().entrySet().iterator(); i.hasNext(); ) {
Map.Entry entry = (Map.Entry)i.next();
for ( Iterator j = ((List)entry.getValue()).iterator(); j.hasNext(); ) {
URI uri = (URI)j.next();
for ( Iterator k = applicationListeners.iterator(); k.hasNext(); ) {
((ApplicationListener)k.next()).uninstall((String)entry.getKey(), application.getUri(), uri);
}
}
}