@Override
	protected void configureModuleApplicationContext(SimpleModuleDefinition moduleDefinition) {
		Resource source = ModuleUtils.resourceBasedConfigurationFile(moduleDefinition);
		if (source != null) {
			addSource(source);
		}
	}
A {@link org.springframework.xd.module.core.SimpleModule} configured using a bean definition resource (XML or
Groovy)

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