@Override
    public void stop(final Logger logger) {
        try {
            logger.logInfo("Stopping ApacheDS server");
            server.stop();
            service.shutdown();
            logger.logInfo("Stopped ApacheDS server");
        } catch (final Exception e) {
            logger.logError("Error stopping ApacheDS server", e);
        }
    }
@Override
    public void stop(final Logger logger) {
        try {
            logger.logInfo("Stopping ApacheDS server");
            server.stop();
            service.shutdown();
            logger.logInfo("Stopped ApacheDS server");
        } catch (final Exception e) {
            logger.logError("Error stopping ApacheDS server", e);
        }
    }
@ Override public void stop ( final Logger logger ) { try { logger . logInfo ( "Stopping ApacheDS server" ) ; server . stop ( ) ; service . shutdown ( ) ; logger . logInfo ( "Stopped ApacheDS server" ) ; } catch ( final Exception e ) { logger . logError ( "Error stopping ApacheDS server" , e ) ; } }
Shutdown the the embedded ApacheDS server.

@param logger Used to log informational and error messages.
Shutdown the the embedded ApacheDS server .