Package com.ibm.ws.javaee.dd.common
Interface DataSource
- 
- All Superinterfaces:
- JNDIEnvironmentRef
 
 public interface DataSource extends JNDIEnvironmentRef Represents <data-source>.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetClassNameValue()java.lang.StringgetDatabaseName()java.lang.StringgetDescription()intgetInitialPoolSize()intgetIsolationLevelValue()intgetLoginTimeout()intgetMaxIdleTime()intgetMaxPoolSize()intgetMaxStatements()intgetMinPoolSize()java.lang.StringgetPassword()intgetPortNumber()java.util.List<Property>getProperties()java.lang.StringgetServerName()java.lang.StringgetUrl()java.lang.StringgetUser()booleanisSetInitialPoolSize()booleanisSetLoginTimeout()booleanisSetMaxIdleTime()booleanisSetMaxPoolSize()booleanisSetMaxStatements()booleanisSetMinPoolSize()booleanisSetPortNumber()booleanisSetTransactional()booleanisTransactional()- 
Methods inherited from interface com.ibm.ws.javaee.dd.common.JNDIEnvironmentRefgetName
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptionjava.lang.String getDescription() - Returns:
- <description>, or null if unspecified
 
 - 
getClassNameValuejava.lang.String getClassNameValue() - Returns:
- <class-name>, or null if unspecified
 
 - 
getServerNamejava.lang.String getServerName() - Returns:
- <server-name>, or null if unspecified
 
 - 
isSetPortNumberboolean isSetPortNumber() - Returns:
- true if <port-number> is specified
- See Also:
- getPortNumber()
 
 - 
getPortNumberint getPortNumber() - Returns:
- <port-number> if specified
- See Also:
- isSetPortNumber()
 
 - 
getDatabaseNamejava.lang.String getDatabaseName() - Returns:
- <database-name>, or null if unspecified
 
 - 
getUrljava.lang.String getUrl() - Returns:
- <url>, or null if unspecified
 
 - 
getUserjava.lang.String getUser() - Returns:
- <user>, or null if unspecified
 
 - 
getPasswordjava.lang.String getPassword() - Returns:
- <password>, or null if unspecified
 
 - 
getPropertiesjava.util.List<Property> getProperties() - Returns:
- <property> as a read-only list
 
 - 
isSetLoginTimeoutboolean isSetLoginTimeout() - Returns:
- true if <login-timeout> is specified
- See Also:
- getLoginTimeout()
 
 - 
getLoginTimeoutint getLoginTimeout() - Returns:
- <login-timeout> if specified
- See Also:
- isSetLoginTimeout()
 
 - 
isSetTransactionalboolean isSetTransactional() - Returns:
- true if <transactional> is specified
- See Also:
- isTransactional()
 
 - 
isTransactionalboolean isTransactional() - Returns:
- <transactional> if specified
- See Also:
- isSetTransactional()
 
 - 
getIsolationLevelValueint getIsolationLevelValue() - Returns:
- <isolation-level>
         - Connection.TRANSACTION_NONEif unspecified
- Connection.TRANSACTION_READ_UNCOMMITTED- TRANSACTION_READ_UNCOMMITTED
- Connection.TRANSACTION_READ_COMMITTED- TRANSACTION_READ_COMMITTED
- Connection.TRANSACTION_REPEATABLE_READ- TRANSACTION_REPEATABLE_READ
- Connection.TRANSACTION_SERIALIZABLE- TRANSACTION_SERIALIZABLE
 
 
 - 
isSetInitialPoolSizeboolean isSetInitialPoolSize() - Returns:
- true if <initial-pool-size> is specified
- See Also:
- getInitialPoolSize()
 
 - 
getInitialPoolSizeint getInitialPoolSize() - Returns:
- <initial-pool-size> if specified
- See Also:
- isSetInitialPoolSize()
 
 - 
isSetMaxPoolSizeboolean isSetMaxPoolSize() - Returns:
- true if <max-pool-size> is specified
- See Also:
- getMaxPoolSize()
 
 - 
getMaxPoolSizeint getMaxPoolSize() - Returns:
- <max-pool-size> if specified
- See Also:
- isSetMaxPoolSize()
 
 - 
isSetMinPoolSizeboolean isSetMinPoolSize() - Returns:
- true if <min-pool-size> is specified
- See Also:
- getMinPoolSize()
 
 - 
getMinPoolSizeint getMinPoolSize() - Returns:
- <min-pool-size> if specified
- See Also:
- isSetMinPoolSize()
 
 - 
isSetMaxIdleTimeboolean isSetMaxIdleTime() - Returns:
- true if <max-idle-time> is specified
- See Also:
- getMaxIdleTime()
 
 - 
getMaxIdleTimeint getMaxIdleTime() - Returns:
- <max-idle-time> if specified
- See Also:
- isSetMaxIdleTime()
 
 - 
isSetMaxStatementsboolean isSetMaxStatements() - Returns:
- true if <max-statements> is specified
- See Also:
- getMaxStatements()
 
 - 
getMaxStatementsint getMaxStatements() - Returns:
- <max-statements> if specified
- See Also:
- isSetMaxStatements()
 
 
- 
 
-