@Override
	public void addSource(Object source) {
		Assert.notNull(source, "source cannot be null");
		Assert.isInstanceOf(Resource.class, source, "unsupported source: " + source.getClass().getName());
		Resource resource = (Resource) source;
		XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(this.context);
		reader.loadBeanDefinitions(resource);
	}
@author Mark Fisher
@author David Turanski
@author Gary Russell
spring-xd-module/src/main/java/org/springframework/xd/module/core/CompositeModule.java