protected void rollback(DeploymentSessionImpl session) {
for (ListIterator i = m_processors.listIterator(m_processors.size()); i.hasPrevious();) {
ResourceProcessor processor = (ResourceProcessor) i.previous();
try {
processor.rollback();
}
catch (Exception e) {
// We cannot throw an exception, see OSGi spec.
session.getLog().log(LogService.LOG_ERROR, "Rollback of resource processor '" + processor + "' failed", e);
}