Map<String, Object> viewMap = (Map<String, Object>) activeViewMapsIterator.next();
BeanManager beanManager = applicationAssociate.getBeanManager();
Iterator<Entry<String, Object>> viewEntries = viewMap.entrySet().iterator();
while(viewEntries.hasNext()) {
Entry<String, Object> entry = viewEntries.next();
beanManager.destroy(entry.getKey(), entry.getValue());
}
}
}
}