installationService.shutDown(); deploymentService.shutDown(); adminCommandsService.shutDown(); clientFactory.shutDown();
    public void shutDown() throws JBIException {        if (containerInitialized.compareAndSet(true, false)) {            autoDeployService.shutDown();            registry.shutDown();            broker.shutDown();            environmentContext.shutDown();            installationService.shutDown();            deploymentService.shutDown();            adminCommandsService.shutDown();            clientFactory.shutDown();            // shutdown the management context last, because it will close the mbean server            super.shutDown();            managementContext.unregisterMBean(this);            managementContext.shutDown();            if (isWorkManagerCreated && workManager instanceof GeronimoWorkManager) {                try {                    ((GeronimoWorkManager) workManager).doStop();                } catch (Exception e) {                    throw new JBIException("Could not stop workManager", e);                }            }        }    }