public String showStatus ( ) throws DeploymentException { String output = "" ; output += "<p>Deployable Units List:</p>" ; for ( String key : deployableUnits . keySet ( ) ) { output += "&lt;" + key + "&gt; [" + deployableUnits . get ( key ) + "]<br>" ; for ( String duComponent : deployableUnits . get ( key ) . getComponents ( ) ) { output += "+-- " + duComponent + "<br>" ; } } output += "<p>To Accept List:</p>" ; for ( String key : toAccept . keySet ( ) ) { output += "&lt;" + key + "&gt; [" + toAccept . get ( key ) + "]<br>" ; } output += "<p>Undeployments running:</p>" ; for ( String undeploy : undeploys ) { output += "+-- " + undeploy + "<br>" ; } output += "<p>Deployment Manager Status</p>" ; output += sleeContainerDeployer . getDeploymentManager ( ) . showStatus ( ) ; return output ; }
MBean operation for getting Deployer status .