railo.runtime.db
Interface DatasourceConnection


public interface DatasourceConnection

a datasource and connection pair


Method Summary
 java.sql.Connection getConnection()
           
 DataSource getDatasource()
           
 java.lang.String getPassword()
           
 java.lang.String getUsername()
           
 boolean isTimeout()
           
 

Method Detail

getConnection

public java.sql.Connection getConnection()
Returns:
Returns the connection.

getDatasource

public DataSource getDatasource()
Returns:
Returns the datasource.

isTimeout

public boolean isTimeout()
Returns:
is timeout or not

getPassword

public java.lang.String getPassword()
Returns:
the password

getUsername

public java.lang.String getUsername()
Returns:
the username