public abstract class OraclePooledConnectionBuilderImpl extends Object implements OraclePooledConnectionBuilder
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 |
---|
OraclePooledConnectionBuilderImpl() |
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 OraclePooledConnection build() throws SQLException
build
in interface OraclePooledConnectionBuilder
SQLException
OracleConnectionBuilder.build()
public OraclePooledConnectionBuilderImpl password(String password)
password
in interface OraclePooledConnectionBuilder
password
- Password to be a part of the connection requestOracleConnectionBuilder.password(java.lang.String)
public OraclePooledConnectionBuilderImpl user(String user)
user
in interface OraclePooledConnectionBuilder
user
- User Name to be a part of the connection requestOracleConnectionBuilder.user(java.lang.String)
public OraclePooledConnectionBuilderImpl serviceName(String serviceName)
serviceName
- Service name to be part of the connection requestpublic OraclePooledConnectionBuilderImpl instanceName(String instanceName)
instanceName
- Instance name to be part of the connection requestpublic OraclePooledConnectionBuilderImpl shardingKey(OracleShardingKey shardingKey)
shardingKey
in interface OraclePooledConnectionBuilder
shardingKey
- Sharding Key object that needs to be part of connection requestOracleConnectionBuilder.shardingKey(oracle.jdbc.OracleShardingKey)
public OraclePooledConnectionBuilderImpl superShardingKey(OracleShardingKey superShardingKey)
superShardingKey
in interface OraclePooledConnectionBuilder
superShardingKey
- Super Sharding Key object that needs to be part of connection requestOracleConnectionBuilder.superShardingKey(oracle.jdbc.OracleShardingKey)
public OraclePooledConnectionBuilderImpl gssCredential(GSSCredential credential)
gssCredential
in interface OraclePooledConnectionBuilder
credential
- used to authenticate the connection. Not null.public OraclePooledConnectionBuilderImpl sslContext(SSLContext sslContext)
sslContext
in interface OraclePooledConnectionBuilder
sslContext
- 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()