Class DataSource

  • All Implemented Interfaces:
    Cloneable, NamedObject

    public class DataSource
    extends NamedNode
    Used for data-sources in configuration, runtime and deployments
    • Constructor Detail

      • DataSource

        public DataSource​(boolean xa)
      • DataSource

        public DataSource​(String name,
                          boolean xa)
      • DataSource

        public DataSource​(String name,
                          ModelNode modelNode,
                          boolean xa)
      • DataSource

        public DataSource​(Property property,
                          boolean xa)
    • Method Detail

      • isXa

        public boolean isXa()
      • isEnabled

        public boolean isEnabled()
      • isStatisticsEnabled

        public boolean isStatisticsEnabled()
      • setDriver

        public void setDriver​(JdbcDriver driver)
      • fromDeployment

        public boolean fromDeployment()
      • getDeployment

        public String getDeployment()
      • getSubdeployment

        public String getSubdeployment()
      • getPath

        public String getPath()
        Returns deployment/subdeployment if subdeployment != null, deployment otherwise. Should not be used to build DMR operations, but rather in the UI.