public abstract class OracleXAConnectionBuilderImpl extends Object implements OracleXAConnectionBuilder
| Modifier and Type | Field and Description |
|---|---|
protected String |
instanceName |
protected String |
password |
protected String |
serviceName |
protected OracleShardingKey |
shardingKey |
protected OracleShardingKey |
superShardingKey |
protected String |
user |
| Constructor and Description |
|---|
OracleXAConnectionBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
abstract OracleXAConnection |
build()
Builds the connection of type OracleXAConnection.
|
String |
getInstanceName() |
OracleConnectionBuilderImpl |
getOracleConnectionBuilder(OracleConnectionBuilderImpl connBldr)
Utility method to set all the builder attributes on a Connection builder from this XA connection builder instance .
|
String |
getPassword() |
String |
getServiceName() |
OracleShardingKeyImpl |
getShardingKey() |
OracleShardingKeyImpl |
getSuperShardingKey() |
String |
getUser() |
OracleXAConnectionBuilderImpl |
instanceName(String instanceName) |
OracleXAConnectionBuilderImpl |
password(String password) |
OracleXAConnectionBuilderImpl |
serviceName(String serviceName) |
OracleXAConnectionBuilderImpl |
shardingKey(OracleShardingKey shardingKey) |
OracleXAConnectionBuilderImpl |
superShardingKey(OracleShardingKey superShardingKey) |
OracleXAConnectionBuilderImpl |
user(String user) |
protected String user
protected String password
protected String serviceName
protected String instanceName
protected OracleShardingKey shardingKey
protected OracleShardingKey superShardingKey
public abstract OracleXAConnection build() throws SQLException
build in interface OracleXAConnectionBuilderSQLExceptionOracleXAConnectionBuilder.build()public OracleXAConnectionBuilderImpl password(String password)
password in interface OracleXAConnectionBuilderpassword - Password to be a part of the connection requestOracleXAConnectionBuilder.password(java.lang.String)public OracleXAConnectionBuilderImpl user(String user)
user in interface OracleXAConnectionBuilderuser - User Name to be a part of the connection requestOracleXAConnectionBuilder.user(java.lang.String)public OracleXAConnectionBuilderImpl serviceName(String serviceName)
serviceName - Service name to be part of the connection requestoracle.jdbc.OracleXAConnectionBuilder#serviceName(java.lang.String)public OracleXAConnectionBuilderImpl instanceName(String instanceName)
instanceName - Instance name to be part of the connection requestoracle.jdbc.OracleXAConnectionBuilder#instanceName(java.lang.String)public OracleXAConnectionBuilderImpl shardingKey(OracleShardingKey shardingKey)
shardingKey in interface OracleXAConnectionBuildershardingKey - Sharding Key object that needs to be part of connection requestOracleXAConnectionBuilder.shardingKey(oracle.jdbc.OracleShardingKey)public OracleXAConnectionBuilderImpl superShardingKey(OracleShardingKey superShardingKey)
superShardingKey in interface OracleXAConnectionBuildersuperShardingKey - Super Sharding Key object that needs to be part of connection requestOracleXAConnectionBuilder.superShardingKey(oracle.jdbc.OracleShardingKey)public String getUser()
public String getPassword()
public String getServiceName()
public String getInstanceName()
public OracleShardingKeyImpl getShardingKey()
public OracleShardingKeyImpl getSuperShardingKey()
public OracleConnectionBuilderImpl getOracleConnectionBuilder(OracleConnectionBuilderImpl connBldr)
connBldr - The connection builder instance that needs to be initialized with this builder attributes.