站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 connector API Documentation 英文版文档

WrapperDataSource (JBoss Connector API) - JBoss 3.2.7 connector API Documentation 英文版文档


org.jboss.resource.adapter.jdbc
Class WrapperDataSource

java.lang.Object
  extended byorg.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

Constructor Summary
WrapperDataSource(BaseWrapperManagedConnectionFactory mcf, javax.resource.spi.ConnectionManager cm)
           
 
Method Summary
 Connection getConnection()
           
 Connection getConnection(String user, String password)
           
 int getLoginTimeout()
           
 PrintWriter getLogWriter()
           
 Reference getReference()
           
 void setLoginTimeout(int param1)
           
 void setLogWriter(PrintWriter param1)
           
 void setReference(Reference reference)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapperDataSource

public WrapperDataSource(BaseWrapperManagedConnectionFactory mcf,
                         javax.resource.spi.ConnectionManager cm)
Method Detail

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.