public abstract class OracleXAConnectionBuilderImpl extends Object implements OracleXAConnectionBuilder
| Modifier and Type | Field and Description |
|---|---|
protected GSSCredential |
gssCredential |
protected String |
instanceName |
protected String |
password |
protected String |
serviceName |
protected OracleShardingKey |
shardingKey |
protected SSLContext |
sslContext |
protected OracleShardingKey |
superShardingKey |
protected String |
user |
| Constructor and Description |
|---|
OracleXAConnectionBuilderImpl() |
protected String user
protected String password
protected String serviceName
protected String instanceName
protected OracleShardingKey shardingKey
protected OracleShardingKey superShardingKey
protected GSSCredential gssCredential
protected SSLContext sslContext
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 OracleXAConnectionBuilderImpl gssCredential(GSSCredential credential)
gssCredential in interface OracleXAConnectionBuildercredential - used to authenticate the connection. Not null.public OracleXAConnectionBuilderImpl sslContext(SSLContext sslContext)
sslContext in interface OracleXAConnectionBuildersslContext - An SSLContext to set. May be null.public final SSLContext getSSLContext()
public String getUser()
public String getPassword()
public String getServiceName()
public String getInstanceName()
public OracleShardingKeyImpl getShardingKey()
public OracleShardingKeyImpl getSuperShardingKey()
public GSSCredential getGSSCredential()
public OracleConnectionBuilderImpl getOracleConnectionBuilder(OracleConnectionBuilderImpl connBldr)
connBldr - The connection builder instance that needs to be initialized with this builder attributes.