public static String[] basePackages(SimpleModuleDefinition moduleDefinition) {

		Properties properties = ModuleUtils.loadModuleProperties(moduleDefinition);
		//Assert.notNull(propertiesFile, "required module properties not found.");
		if (properties == null) {
			return new String[0];
		}


		String basePackageNames = properties.getProperty(BASE_PACKAGES);
		return StringUtils.commaDelimitedListToStringArray(basePackageNames);
	}
A {@link SimpleModule} configured by an @Configuration class.

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