|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IJAnnotationSqlDataSourceDefinition
Manage @javax.annotation.sql.DataSourceDefinition metadata
| Method Summary | |
|---|---|
String |
getClassName()
DataSource implementation class className. |
String |
getDatabaseName()
Name of a database on a server |
String |
getDescription()
Description of the data source. |
int |
getInitialPoolSize()
Number of connections that should be created when a connection pool is initialized |
int |
getIsolationLevel()
Isolation level for connections. |
int |
getLoginTimeout()
The maximum time in seconds that this data source will wait while attempting to connect to a database. |
int |
getMaxIdleTime()
The number of seconds that a physical connection should remain unused in the pool before the connection is closed for a connection pool |
int |
getMaxPoolSize()
Maximum number of connections that should be concurrently allocated for a connection pool |
int |
getMaxStatements()
The total number of statements that a connection pool should keep open. |
int |
getMinPoolSize()
Minimum number of connections that should be allocated for a connection pool |
String |
getName()
JNDI name by which the data source name will be registered. |
String |
getPassword()
password for connection authentications |
int |
getPortNumber()
Port number where a server is listening for requests |
String[] |
getProperties()
Used to specify vendor specific properties and less commonly used DataSource properties. |
String |
getServerName()
Database server name |
String |
getUrl()
A JDBC url. |
String |
getUser()
User name for connection authentications |
boolean |
isTransactional()
Indicates whether a connection is transactional or not. |
void |
setClassName(String className)
DataSource implementation class className. |
void |
setDatabaseName(String databaseName)
Name of a database on a server |
void |
setDescription(String description)
Description of the data source |
void |
setInitialPoolSize(int initialPoolSize)
Number of connections that should be created when a connection pool is initialized |
void |
setIsolationLevel(int isolationLevel)
Isolation level for connections. |
void |
setLoginTimeout(int loginTimeout)
The maximum time in seconds that this data source will wait while attempting to connect to a database. |
void |
setMaxIdleTime(int maxIdleTime)
The number of seconds that a physical connection should remain unused in the pool before the connection is closed for a connection pool |
void |
setMaxPoolSize(int maxPoolSize)
Maximum number of connections that should be concurrently allocated for a connection pool |
void |
setMaxStatements(int maxStatements)
The total number of statements that a connection pool should keep open. |
void |
setMinPoolSize(int minPoolSize)
Minimum number of connections that should be allocated for a connection pool |
void |
setName(String name)
JNDI name by which the data source name will be registered. |
void |
setPassword(String password)
password for connection authentications |
void |
setPortNumber(int portNumber)
Port number where a server is listening for requests |
void |
setProperties(String[] properties)
Used to specify vendor specific properties and less commonly used DataSource properties. |
void |
setServerName(String serverName)
Database server name |
void |
setTransactional(boolean transactional)
Indicates whether a connection is transactional or not. |
void |
setUrl(String url)
A JDBC url. |
void |
setUser(String user)
User name for connection authentications |
| Method Detail |
|---|
String getName()
void setName(String name)
name - the given JNDI nameString getClassName()
void setClassName(String className)
className - the given DataSource implementation class nameString getDescription()
void setDescription(String description)
description - the given descriptionString getUrl()
void setUrl(String url)
url - the given JDBC urlString getUser()
void setUser(String user)
user - the given user nameString getPassword()
void setPassword(String password)
password - the given passwordString getDatabaseName()
void setDatabaseName(String databaseName)
databaseName - the given name of the databaseint getPortNumber()
void setPortNumber(int portNumber)
portNumber - the given port numberString getServerName()
void setServerName(String serverName)
serverName - the given Database server nameint getIsolationLevel()
void setIsolationLevel(int isolationLevel)
isolationLevel - the given isolation levelboolean isTransactional()
void setTransactional(boolean transactional)
transactional - Indicates whether a connection is transactional or not.int getInitialPoolSize()
void setInitialPoolSize(int initialPoolSize)
initialPoolSize - the given initial connection pool sizeint getMaxPoolSize()
void setMaxPoolSize(int maxPoolSize)
maxPoolSize - the given maximum connection pool sizeint getMinPoolSize()
void setMinPoolSize(int minPoolSize)
minPoolSize - the given minimum connection pool sizeint getMaxIdleTime()
void setMaxIdleTime(int maxIdleTime)
maxIdleTime - the given maximum idle timeint getMaxStatements()
void setMaxStatements(int maxStatements)
maxStatements - the given maximum statements cachingString[] getProperties()
void setProperties(String[] properties)
properties - the given propertiesint getLoginTimeout()
void setLoginTimeout(int loginTimeout)
loginTimeout - the given login timeout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||