@Override
	protected void configureModuleApplicationContext(SimpleModuleDefinition moduleDefinition) {
		String[] basePackages = basePackages(moduleDefinition);
		Assert.notEmpty(basePackages, String.format("%s property does not exist or does not contain a value for " +
				"module" +
				" %s.", BASE_PACKAGES, moduleDefinition.toString()));
		addListener(new JavaConfigModuleListener(basePackages));
		addListener(new JavaConfigValidationListener(moduleDefinition, basePackages));

	}
A {@link SimpleModule} configured by an @Configuration class.

@author David Turanski
spring-xd-module/src/main/java/org/springframework/xd/module/core/JavaConfiguredModule.java