container/common/src/main/java/org/mobicents/slee/container/deployment/jboss/DeploymentManager.java
public void sleeShutdown() {
	  logger.info("Undeploying all Deployable Units due to SLEE shutdown");    
	  // undeploy each DU in reverse order 
	  while(!deployedDUs.isEmpty()) {
		  DeployableUnit du = deployedDUs.removeLast();
		  try {
			  uninstallDeployableUnit(du);            
		  }
		  catch (Exception e) {
			  logger.error("Failed to uninstall DU, in SLEE shutdown",e);
		  }
	  }
  }
public void sleeShutdown() {
	  logger.info("Undeploying all Deployable Units due to SLEE shutdown");    
	  // undeploy each DU in reverse order 
	  while(!deployedDUs.isEmpty()) {
		  DeployableUnit du = deployedDUs.removeLast();
		  try {
			  uninstallDeployableUnit(du);            
		  }
		  catch (Exception e) {
			  logger.error("Failed to uninstall DU, in SLEE shutdown",e);
		  }
	  }
  }
Callback for {@link SleeStateJMXMonitor}, to learn when SLEE is stopping.