Static method to destroy all ServiceLifecycle objects within an
Axis session.
// Check for our marker so as not to do unneeded work
if (session.getAttribute(AxisHttpSession.AXIS_SESSION_MARKER) == null)
return;
if (log.isDebugEnabled()) {
log.debug("Got destroySession event : " + session);
}
Enumeration e = session.getAttributeNames();
while (e.hasMoreElements()) {
Object next = e.nextElement();
if (next instanceof ServiceLifecycle) {
((ServiceLifecycle)next).destroy();
}
}