ClassLoaderXmlPreprocessor classLoaderXmlPreprocessor = new ClassLoaderXmlPreprocessor(repository, container);
return Collections.singletonList(classLoaderXmlPreprocessor);
}
protected List getBeanFactoryPostProcessors(String serviceUnitRootPath) {
PropertyPlaceholderConfigurer propertyPlaceholder = new PropertyPlaceholderConfigurer();
FileSystemResource propertiesFile = new FileSystemResource(
new File(serviceUnitRootPath) + "/" + getXBeanFile()
+ ".properties");
if (propertiesFile.getFile().exists()) {
propertyPlaceholder.setLocation(propertiesFile);
return Collections.singletonList(propertyPlaceholder);
}
return Collections.EMPTY_LIST;
}