Class WildflyDriverDef
- java.lang.Object
-
- org.kie.workbench.common.screens.datasource.management.backend.integration.wildfly.WildflyDriverDef
-
public class WildflyDriverDef extends Object
This class defines the information that us used by the Wildfly/EAP server to define a data base driver. A database driver my be defined by: 1) just deploying a jar file with the packaged driver. e.g. "h2-1.4.190.jar", "postgresql-9.4.1207.jre7.jar". In this case all driver's parameters will be automatically established by the server. 2) by defining the driver in thesection of the server configuration file. e.g. when the driver is defined in this way it should point a server module that contains the .classes.org.h2.jdbcx.JdbcDataSource
-
-
Constructor Summary
Constructors Constructor Description WildflyDriverDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDataSourceClass()StringgetDeploymentName()StringgetDriverClass()StringgetDriverModuleName()StringgetDriverName()intgetMayorVersion()intgetMinorVersion()StringgetModuleSlot()StringgetXaDataSourceClass()booleanisJdbcCompliant()voidsetDataSourceClass(String dataSourceClass)voidsetDeploymentName(String deploymentName)voidsetDriverClass(String driverClass)voidsetDriverModuleName(String driverModuleName)voidsetDriverName(String driverName)voidsetJdbcCompliant(boolean jdbcCompliant)voidsetMayorVersion(int mayorVersion)voidsetMinorVersion(int minorVersion)voidsetModuleSlot(String moduleSlot)voidsetXaDataSourceClass(String xaDataSourceClass)StringtoString()
-
-
-
Method Detail
-
getDriverName
public String getDriverName()
-
setDriverName
public void setDriverName(String driverName)
-
getDeploymentName
public String getDeploymentName()
-
setDeploymentName
public void setDeploymentName(String deploymentName)
-
getDriverModuleName
public String getDriverModuleName()
-
setDriverModuleName
public void setDriverModuleName(String driverModuleName)
-
getModuleSlot
public String getModuleSlot()
-
setModuleSlot
public void setModuleSlot(String moduleSlot)
-
getMayorVersion
public int getMayorVersion()
-
setMayorVersion
public void setMayorVersion(int mayorVersion)
-
getMinorVersion
public int getMinorVersion()
-
setMinorVersion
public void setMinorVersion(int minorVersion)
-
getDriverClass
public String getDriverClass()
-
setDriverClass
public void setDriverClass(String driverClass)
-
getDataSourceClass
public String getDataSourceClass()
-
setDataSourceClass
public void setDataSourceClass(String dataSourceClass)
-
getXaDataSourceClass
public String getXaDataSourceClass()
-
setXaDataSourceClass
public void setXaDataSourceClass(String xaDataSourceClass)
-
isJdbcCompliant
public boolean isJdbcCompliant()
-
setJdbcCompliant
public void setJdbcCompliant(boolean jdbcCompliant)
-
-