当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 connector API Documentation 英文版文档
WrapperDataSource (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档
org.jboss.resource.adapter.jdbc
Class WrapperDataSource
java.lang.Object
org.jboss.resource.adapter.jdbc.WrapperDataSource
- All Implemented Interfaces:
- DataSource, Referenceable, javax.resource.Referenceable, Serializable
- public class WrapperDataSource
- extends Object
- implements javax.resource.Referenceable, DataSource, Serializable
WrapperDataSource.java
Created: Fri Apr 19 13:34:35 2002
- Version:
- Author:
- David Jencks
- 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
- Returns:
-
- Throws:
SQLException
-
setLogWriter
public void setLogWriter(PrintWriter param1)
throws SQLException
- Specified by:
setLogWriter
in interface DataSource
- Parameters:
param1
-
- Throws:
SQLException
-
getLoginTimeout
public int getLoginTimeout()
throws SQLException
- Specified by:
getLoginTimeout
in interface DataSource
- Returns:
-
- Throws:
SQLException
-
setLoginTimeout
public void setLoginTimeout(int param1)
throws SQLException
- Specified by:
setLoginTimeout
in interface DataSource
- Parameters:
param1
-
- Throws:
SQLException
-
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection
in interface DataSource
- Returns:
-
- Throws:
SQLException
-
getConnection
public Connection getConnection(String user,
String password)
throws SQLException
- Specified by:
getConnection
in interface DataSource
- Returns:
-
- Throws:
SQLException
-
setReference
public void setReference(Reference reference)
- Specified by:
setReference
in interface javax.resource.Referenceable
getReference
public Reference getReference()
- Specified by:
getReference
in interface Referenceable
- Returns:
-
- Throws:
NamingException
-
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.