@Override
	public void destroy() {
		if (context instanceof DisposableBean) {
			try {
				((DisposableBean) context).destroy();
			}
			catch (RuntimeException e) {
				throw e;
			}
			catch (Exception e) {
				throw new IllegalStateException(e);
			}
		}
		if (classLoader instanceof Closeable) {
			try {
				((Closeable) classLoader).close();
			}
			catch (IOException e) {
			}
		}
	}
Initialize this module by creating its application context, and provide it with a special
{@link org.springframework.core.env.Environment} that knows how to resolve module options placeholders.
spring-xd-module/src/main/java/org/springframework/xd/module/core/SimpleModule.java