@Override
	public void destroy() {
		for (Module module : this.modules) {
			module.destroy();
		}
		if (this.context != null) {
			this.context.destroy();
		}
	}
@author Mark Fisher
@author David Turanski
@author Gary Russell
spring-xd-module/src/main/java/org/springframework/xd/module/core/CompositeModule.java