org.wildfly.swarm.config.Datasources Maven / Gradle / Ivy
package org.wildfly.swarm.config;
import org.wildfly.config.runtime.Implicit;
import org.wildfly.config.runtime.ResourceType;
import org.wildfly.config.runtime.ModelNodeBinding;
import java.util.List;
import java.util.Map;
import org.wildfly.config.runtime.Subresource;
import org.wildfly.swarm.config.datasources.JdbcDriver;
import org.wildfly.swarm.config.datasources.XaDataSource;
import org.wildfly.swarm.config.datasources.DataSource;
/**
* The data-sources subsystem, used to declare JDBC data-sources
*/
@ResourceType("subsystem")
@Implicit
public class Datasources {
private String key;
private List installedDrivers;
private DatasourcesResources subresources = new DatasourcesResources();
public Datasources() {
this.key = "datasources";
}
public String getKey() {
return this.key;
}
/**
* List of JDBC drivers that have been installed in the runtime
*/
@ModelNodeBinding(detypedName = "installed-drivers")
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy