|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceBean
Method Summary | |
---|---|
JavaEEPropertyBean |
createProperty()
|
void |
destroyProperty(JavaEEPropertyBean property)
|
String |
getClassName()
The data source implementation class. |
String |
getDatabaseName()
The name of the database connected to this data source. |
String |
getDescription()
A description of this DataSource. |
String |
getId()
Specifies a string which is used to identify this DataSource. |
int |
getInitialPoolSize()
The number of physical connections to create when creating the connection pool in the data source. |
String |
getIsolationLevel()
The transaction isolation level used for connections. |
int |
getLoginTimeout()
The maximum amount of time, in seconds, that this data source waits while attempting to connect to a database. |
int |
getMaxIdleTime()
The maximum amount of time, in seconds, a physical connection can remain unused in the pool before the connection is closed. |
int |
getMaxPoolSize()
The maximum number of physical connections that this connection pool can contain. |
int |
getMaxStatements()
The total number of statements that a connection pool keeps open. |
int |
getMinPoolSize()
The minimum number of physical connections that this connection pool can contain. |
String |
getName()
The JNDI name of the data source. |
String |
getPassword()
The password to use for connection authentication with the database. |
int |
getPortNumber()
The port number a server uses to listen for requests. |
JavaEEPropertyBean[] |
getProperties()
Spcecifies a JDBC DataSource property. |
String |
getServerName()
The database server name. |
String |
getUrl()
The JDBC URL. |
String |
getUser()
The user name to use for connection authentication with the database. |
boolean |
isTransactional()
When enabled, connections participate in transactions. |
JavaEEPropertyBean |
lookupProperty(String name)
|
void |
setClassName(String className)
|
void |
setDatabaseName(String databaseName)
|
void |
setDescription(String description)
|
void |
setId(String id)
|
void |
setInitialPoolSize(int initialPoolSize)
|
void |
setIsolationLevel(String isolationLevel)
|
void |
setLoginTimeout(int loginTimeout)
|
void |
setMaxIdleTime(int maxIdleTime)
|
void |
setMaxPoolSize(int maxPoolSize)
|
void |
setMaxStatements(int maxStatements)
|
void |
setMinPoolSize(int minPoolSize)
|
void |
setName(String name)
|
void |
setPassword(String password)
|
void |
setPortNumber(int portNumber)
|
void |
setServerName(String serverName)
|
void |
setTransactional(boolean transactional)
|
void |
setUrl(String url)
|
void |
setUser(String user)
|
Methods inherited from interface weblogic.descriptor.SettableBean |
---|
isSet, unSet |
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, 2014, 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.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |