@Generated(value="org.jsonschema2pojo") public class AddDatasourceRequest extends ResourcePathRequest
| Constructor and Description |
|---|
AddDatasourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConnectionUrl()
The JDBC driver connection URL.
|
String |
getDatasourceName()
The name for this datasource.
|
Map<String,String> |
getDatasourceProperties()
Either a list of xa-datasource-properties in case this is a XA datasource or otherwise a list of connection-properties for a non-XA datasource.
|
String |
getDriverClass()
The fully qualified name of the JDBC driver class.
|
String |
getDriverName()
Name of the JDBC driver as available under /subsystem=datasources/jdbc-driver=* in WildFly configuration.
|
String |
getJndiName()
the JNDI name for the datasource
(Required)
|
String |
getPassword()
The password used when creating a new connection.
|
String |
getSecurityDomain()
The security domain which defines the javax.security.auth.Subject that are used to distinguish connections in the pool.
|
String |
getUserName()
The user name used when creating a new connection.
|
String |
getXaDataSourceClass()
The fully qualified name of the javax.sql.XADataSource implementation.
|
boolean |
isXaDatasource()
true if an XA datasource should be added, false otherwise
(Required)
|
void |
setConnectionUrl(String connectionUrl)
The JDBC driver connection URL.
|
void |
setDatasourceName(String datasourceName)
The name for this datasource.
|
void |
setDatasourceProperties(Map<String,String> datasourceProperties)
Either a list of xa-datasource-properties in case this is a XA datasource or otherwise a list of connection-properties for a non-XA datasource.
|
void |
setDriverClass(String driverClass)
The fully qualified name of the JDBC driver class.
|
void |
setDriverName(String driverName)
Name of the JDBC driver as available under /subsystem=datasources/jdbc-driver=* in WildFly configuration.
|
void |
setJndiName(String jndiName)
the JNDI name for the datasource
(Required)
|
void |
setPassword(String password)
The password used when creating a new connection.
|
void |
setSecurityDomain(String securityDomain)
The security domain which defines the javax.security.auth.Subject that are used to distinguish connections in the pool.
|
void |
setUserName(String userName)
The user name used when creating a new connection.
|
void |
setXaDatasource(boolean xaDatasource)
true if an XA datasource should be added, false otherwise
(Required)
|
void |
setXaDataSourceClass(String xaDataSourceClass)
The fully qualified name of the javax.sql.XADataSource implementation.
|
getResourcePath, getSenderRequestId, getSenderSessionId, setResourcePath, setSenderRequestId, setSenderSessionIdgetAuthentication, setAuthenticationbuildObjectMapperForDeserialization, buildObjectMapperForSerialization, fromJSON, fromJSON, getCorrelationId, getHeaders, getMessageId, setCorrelationId, setHeaders, setMessageId, toJSON, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCorrelationId, getHeaders, getMessageId, setCorrelationId, setHeaders, setMessageId, toJSONpublic boolean isXaDatasource()
public void setXaDatasource(boolean xaDatasource)
xaDatasource - The xaDatasourcepublic String getDatasourceName()
public void setDatasourceName(String datasourceName)
datasourceName - The datasourceNamepublic String getJndiName()
public void setJndiName(String jndiName)
jndiName - The jndiNamepublic String getDriverName()
public void setDriverName(String driverName)
driverName - The driverNamepublic String getDriverClass()
public void setDriverClass(String driverClass)
driverClass - The driverClasspublic String getConnectionUrl()
public void setConnectionUrl(String connectionUrl)
connectionUrl - The connectionUrlpublic String getXaDataSourceClass()
public void setXaDataSourceClass(String xaDataSourceClass)
xaDataSourceClass - The xaDataSourceClasspublic Map<String,String> getDatasourceProperties()
public void setDatasourceProperties(Map<String,String> datasourceProperties)
datasourceProperties - The datasourcePropertiespublic String getUserName()
public void setUserName(String userName)
userName - The userNamepublic String getPassword()
public void setPassword(String password)
password - The passwordpublic String getSecurityDomain()
public void setSecurityDomain(String securityDomain)
securityDomain - The securityDomainCopyright © 2014–2016 Red Hat, Inc.. All rights reserved.