Package com.ibm.ws.javaee.dd.common
Interface DataSource
-
- All Superinterfaces:
JNDIEnvironmentRef
public interface DataSource extends JNDIEnvironmentRef
Represents <data-source>.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getClassNameValue()
java.lang.String
getDatabaseName()
java.lang.String
getDescription()
int
getInitialPoolSize()
int
getIsolationLevelValue()
int
getLoginTimeout()
int
getMaxIdleTime()
int
getMaxPoolSize()
int
getMaxStatements()
int
getMinPoolSize()
java.lang.String
getPassword()
int
getPortNumber()
java.util.List<Property>
getProperties()
java.lang.String
getServerName()
java.lang.String
getUrl()
java.lang.String
getUser()
boolean
isSetInitialPoolSize()
boolean
isSetLoginTimeout()
boolean
isSetMaxIdleTime()
boolean
isSetMaxPoolSize()
boolean
isSetMaxStatements()
boolean
isSetMinPoolSize()
boolean
isSetPortNumber()
boolean
isSetTransactional()
boolean
isTransactional()
-
Methods inherited from interface com.ibm.ws.javaee.dd.common.JNDIEnvironmentRef
getName
-
-
-
-
Method Detail
-
getDescription
java.lang.String getDescription()
- Returns:
- <description>, or null if unspecified
-
getClassNameValue
java.lang.String getClassNameValue()
- Returns:
- <class-name>, or null if unspecified
-
getServerName
java.lang.String getServerName()
- Returns:
- <server-name>, or null if unspecified
-
isSetPortNumber
boolean isSetPortNumber()
- Returns:
- true if <port-number> is specified
- See Also:
getPortNumber()
-
getPortNumber
int getPortNumber()
- Returns:
- <port-number> if specified
- See Also:
isSetPortNumber()
-
getDatabaseName
java.lang.String getDatabaseName()
- Returns:
- <database-name>, or null if unspecified
-
getUrl
java.lang.String getUrl()
- Returns:
- <url>, or null if unspecified
-
getUser
java.lang.String getUser()
- Returns:
- <user>, or null if unspecified
-
getPassword
java.lang.String getPassword()
- Returns:
- <password>, or null if unspecified
-
getProperties
java.util.List<Property> getProperties()
- Returns:
- <property> as a read-only list
-
isSetLoginTimeout
boolean isSetLoginTimeout()
- Returns:
- true if <login-timeout> is specified
- See Also:
getLoginTimeout()
-
getLoginTimeout
int getLoginTimeout()
- Returns:
- <login-timeout> if specified
- See Also:
isSetLoginTimeout()
-
isSetTransactional
boolean isSetTransactional()
- Returns:
- true if <transactional> is specified
- See Also:
isTransactional()
-
isTransactional
boolean isTransactional()
- Returns:
- <transactional> if specified
- See Also:
isSetTransactional()
-
getIsolationLevelValue
int getIsolationLevelValue()
- Returns:
- <isolation-level>
Connection.TRANSACTION_NONE
if unspecifiedConnection.TRANSACTION_READ_UNCOMMITTED
- TRANSACTION_READ_UNCOMMITTEDConnection.TRANSACTION_READ_COMMITTED
- TRANSACTION_READ_COMMITTEDConnection.TRANSACTION_REPEATABLE_READ
- TRANSACTION_REPEATABLE_READConnection.TRANSACTION_SERIALIZABLE
- TRANSACTION_SERIALIZABLE
-
isSetInitialPoolSize
boolean isSetInitialPoolSize()
- Returns:
- true if <initial-pool-size> is specified
- See Also:
getInitialPoolSize()
-
getInitialPoolSize
int getInitialPoolSize()
- Returns:
- <initial-pool-size> if specified
- See Also:
isSetInitialPoolSize()
-
isSetMaxPoolSize
boolean isSetMaxPoolSize()
- Returns:
- true if <max-pool-size> is specified
- See Also:
getMaxPoolSize()
-
getMaxPoolSize
int getMaxPoolSize()
- Returns:
- <max-pool-size> if specified
- See Also:
isSetMaxPoolSize()
-
isSetMinPoolSize
boolean isSetMinPoolSize()
- Returns:
- true if <min-pool-size> is specified
- See Also:
getMinPoolSize()
-
getMinPoolSize
int getMinPoolSize()
- Returns:
- <min-pool-size> if specified
- See Also:
isSetMinPoolSize()
-
isSetMaxIdleTime
boolean isSetMaxIdleTime()
- Returns:
- true if <max-idle-time> is specified
- See Also:
getMaxIdleTime()
-
getMaxIdleTime
int getMaxIdleTime()
- Returns:
- <max-idle-time> if specified
- See Also:
isSetMaxIdleTime()
-
isSetMaxStatements
boolean isSetMaxStatements()
- Returns:
- true if <max-statements> is specified
- See Also:
getMaxStatements()
-
getMaxStatements
int getMaxStatements()
- Returns:
- <max-statements> if specified
- See Also:
isSetMaxStatements()
-
-