|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceBean
Method Summary | |
---|---|
abstract JavaEEPropertyBean |
createProperty() |
abstract void |
destroyProperty(JavaEEPropertyBean property) |
abstract String |
getClassName() The data source implementation class. |
abstract String |
getDatabaseName() The name of the database connected to this data source. |
abstract String |
getDescription() A description of this DataSource. |
abstract String |
getId() Specifies a string which is used to identify this DataSource. |
abstract int |
getInitialPoolSize() The number of physical connections to create when creating the connection pool in the data source. |
abstract String |
getIsolationLevel() The transaction isolation level used for connections. |
abstract int |
getLoginTimeout() The maximum amount of time, in seconds, that this data source waits while attempting to connect to a database. |
abstract int |
getMaxIdleTime() The maximum amount of time, in seconds, a physical connection can remain unused in the pool before the connection is closed. |
abstract int |
getMaxPoolSize() The maximum number of physical connections that this connection pool can contain. |
abstract int |
getMaxStatements() The total number of statements that a connection pool keeps open. |
abstract int |
getMinPoolSize() The minimum number of physical connections that this connection pool can contain. |
abstract String |
getName() The JNDI name of the data source. |
abstract String |
getPassword() The password to use for connection authentication with the database. |
abstract int |
getPortNumber() The port number a server uses to listen for requests. |
abstract JavaEEPropertyBean[] |
getProperties() Spcecifies a JDBC DataSource property. |
abstract String |
getServerName() The database server name. |
abstract String |
getUrl() The JDBC URL. |
abstract String |
getUser() The user name to use for connection authentication with the database. |
abstract boolean |
isTransactional() When enabled, connections participate in transactions. |
abstract JavaEEPropertyBean |
lookupProperty(String name) |
abstract void |
setClassName(String className) |
abstract void |
setDatabaseName(String databaseName) |
abstract void |
setDescription(String description) |
abstract void |
setId(String id) |
abstract void |
setInitialPoolSize(int initialPoolSize) |
abstract void |
setIsolationLevel(String isolationLevel) |
abstract void |
setLoginTimeout(int loginTimeout) |
abstract void |
setMaxIdleTime(int maxIdleTime) |
abstract void |
setMaxPoolSize(int maxPoolSize) |
abstract void |
setMaxStatements(int maxStatements) |
abstract void |
setMinPoolSize(int minPoolSize) |
abstract void |
setName(String name) |
abstract void |
setPassword(String password) |
abstract void |
setPortNumber(int portNumber) |
abstract void |
setServerName(String serverName) |
abstract void |
setTransactional(boolean transactional) |
abstract void |
setUrl(String url) |
abstract void |
setUser(String user) |
Method Detail |
---|
String getDescription()
void setDescription(String description)
String getName()
void setName(String name)
String getClassName()
void setClassName(String className)
String getServerName()
void setServerName(String serverName)
int getPortNumber()
void setPortNumber(int portNumber)
String getDatabaseName()
void setDatabaseName(String databaseName)
String getUrl()
Url
property is specified along with other standard DataSource
properties such as ServerName
, DatabaseName
and PortNumber
, the more specific properties take precedence and Url
is ignored.void setUrl(String url)
String getUser()
void setUser(String user)
String getPassword()
void setPassword(String password)
JavaEEPropertyBean[] getProperties()
JavaEEPropertyBean lookupProperty(String name)
JavaEEPropertyBean createProperty()
void destroyProperty(JavaEEPropertyBean property)
int getLoginTimeout()
void setLoginTimeout(int loginTimeout)
boolean isTransactional()
void setTransactional(boolean transactional)
String getIsolationLevel()
void setIsolationLevel(String isolationLevel)
int getInitialPoolSize()
void setInitialPoolSize(int initialPoolSize)
int getMaxPoolSize()
void setMaxPoolSize(int maxPoolSize)
int getMinPoolSize()
void setMinPoolSize(int minPoolSize)
int getMaxIdleTime()
void setMaxIdleTime(int maxIdleTime)
int getMaxStatements()
void setMaxStatements(int maxStatements)
String getId()
void setId(String id)
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |