private static final String[] EMPTY_STRING_ARRAY = {};
@Override
protected List<BindingConfiguration> processDescriptorEntries(final DeploymentUnit deploymentUnit, final DeploymentDescriptorEnvironment environment, final ResourceInjectionTarget resourceInjectionTarget, final ComponentDescription componentDescription, final ClassLoader classLoader, final DeploymentReflectionIndex deploymentReflectionIndex, final EEApplicationClasses applicationClasses) throws DeploymentUnitProcessingException {
DataSourcesMetaData dataSources = environment.getEnvironment().getDataSources();
if(dataSources != null) {
List<BindingConfiguration> ret = new ArrayList<BindingConfiguration>(dataSources.size());
for(DataSourceMetaData dataSource : dataSources) {
ret.add(getBindingConfiguration(dataSource));
}
return ret;
}