private void destroyModule(Module module) {
		logger.info("Removed {}", module);
		beforeShutdown(module);
		module.stop();
		removeModule(module);
		module.destroy();
	}
Apply lifecycle plugins and shut down the module.

@param module module to shut down and destroy
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/ModuleDeployer.java