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 OraclePooledConnectionBuilderSQLExceptionOracleConnectionBuilder.build()public OraclePooledConnectionBuilderImpl password(String password)
password in interface OraclePooledConnectionBuilderpassword - Password to be a part of the connection requestOracleConnectionBuilder.password(java.lang.String)public OraclePooledConnectionBuilderImpl user(String user)
user in interface OraclePooledConnectionBuilderuser - 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 OraclePooledConnectionBuildershardingKey - Sharding Key object that needs to be part of connection requestOracleConnectionBuilder.shardingKey(oracle.jdbc.OracleShardingKey)public OraclePooledConnectionBuilderImpl superShardingKey(OracleShardingKey superShardingKey)
superShardingKey in interface OraclePooledConnectionBuildersuperShardingKey - Super Sharding Key object that needs to be part of connection requestOracleConnectionBuilder.superShardingKey(oracle.jdbc.OracleShardingKey)public OraclePooledConnectionBuilderImpl gssCredential(GSSCredential credential)
gssCredential in interface OraclePooledConnectionBuildercredential - used to authenticate the connection. Not null.public OraclePooledConnectionBuilderImpl sslContext(SSLContext sslContext)
sslContext in interface OraclePooledConnectionBuildersslContext - 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()