@Override
	public void stop() {
		if (this.isRunning.compareAndSet(true, false)) {
			for (Module module : this.modules) {
				module.stop();
			}
			this.context.stop();
			if (logger.isInfoEnabled()) {
				logger.info("stopped module: " + this.toString());
			}
		}
	}
@author Mark Fisher
@author David Turanski
@author Gary Russell
spring-xd-module/src/main/java/org/springframework/xd/module/core/CompositeModule.java