org.jboss.resource.adapter.jdbc
Class WrapperDataSource
java.lang.Object
org.jboss.resource.adapter.jdbc.WrapperDataSource
- All Implemented Interfaces:
- Serializable, Referenceable, DataSource
public class WrapperDataSource
- extends Object
- implements javax.resource.Referenceable, DataSource, Serializable
WrapperDataSource
- Version:
- $Revision: 57189 $
- Author:
- David Jencks, Adrian Brock
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrapperDataSource
public WrapperDataSource(BaseWrapperManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager cm)
getLogWriter
public PrintWriter getLogWriter()
throws SQLException
- Specified by:
getLogWriter
in interface DataSource
- Throws:
SQLException
setLogWriter
public void setLogWriter(PrintWriter param1)
throws SQLException
- Specified by:
setLogWriter
in interface DataSource
- Throws:
SQLException
getLoginTimeout
public int getLoginTimeout()
throws SQLException
- Specified by:
getLoginTimeout
in interface DataSource
- Throws:
SQLException
setLoginTimeout
public void setLoginTimeout(int param1)
throws SQLException
- Specified by:
setLoginTimeout
in interface DataSource
- Throws:
SQLException
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection
in interface DataSource
- Throws:
SQLException
getConnection
public Connection getConnection(String user,
String password)
throws SQLException
- Specified by:
getConnection
in interface DataSource
- Throws:
SQLException
setReference
public void setReference(Reference reference)
getReference
public Reference getReference()
- Specified by:
getReference
in interface Referenceable
getTimeLeftBeforeTransactionTimeout
protected int getTimeLeftBeforeTransactionTimeout()
throws SQLException
- Throws:
SQLException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.