org.infinispan.server.configuration.DataSourcesConfiguration Maven / Gradle / Ivy
The newest version!
package org.infinispan.server.configuration;
import java.util.List;
import org.infinispan.commons.configuration.attributes.AttributeSet;
import org.infinispan.commons.configuration.attributes.ConfigurationElement;
/**
* Holds configuration related to data sources
* @author Tristan Tarrant
* @since 11.0
*/
public class DataSourcesConfiguration extends ConfigurationElement {
private final List dataSources;
static AttributeSet attributeDefinitionSet() {
return new AttributeSet(DataSourcesConfiguration.class);
}
DataSourcesConfiguration(AttributeSet attributes, List dataSources) {
super(Element.DATA_SOURCES, attributes);
this.dataSources = dataSources;
}
public List dataSources() {
return dataSources;
}
}