oss.net.pstream.jca
Class StreamerDataSource
java.lang.Object
|
+--oss.net.pstream.jca.StreamerDataSource
- All Implemented Interfaces:
- javax.sql.DataSource, javax.naming.Referenceable, java.io.Serializable
- public class StreamerDataSource
- extends java.lang.Object
- implements javax.sql.DataSource, java.io.Serializable, javax.naming.Referenceable
- Author:
- mgregory
To change this generated comment edit the template variable "typecomment":
Window>Preferences>Java>Templates.
To enable and disable the creation of type comments go to
Window>Preferences>Java>Code Generation.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamerDataSource
public StreamerDataSource(StreamerManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager cm)
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException
- Specified by:
getConnection
in interface javax.sql.DataSource
java.sql.SQLException
- See Also:
DataSource.getConnection()
getConnection
public java.sql.Connection getConnection(java.lang.String Username,
java.lang.String Password)
throws java.sql.SQLException
- Specified by:
getConnection
in interface javax.sql.DataSource
java.sql.SQLException
- See Also:
DataSource.getConnection(String, String)
getLoginTimeout
public int getLoginTimeout()
throws java.sql.SQLException
- Specified by:
getLoginTimeout
in interface javax.sql.DataSource
java.sql.SQLException
- See Also:
DataSource.getLoginTimeout()
getLogWriter
public java.io.PrintWriter getLogWriter()
throws java.sql.SQLException
- Specified by:
getLogWriter
in interface javax.sql.DataSource
java.sql.SQLException
- See Also:
DataSource.getLogWriter()
setLoginTimeout
public void setLoginTimeout(int seconds)
throws java.sql.SQLException
- Specified by:
setLoginTimeout
in interface javax.sql.DataSource
java.sql.SQLException
- See Also:
DataSource.setLoginTimeout(int)
setLogWriter
public void setLogWriter(java.io.PrintWriter PW)
throws java.sql.SQLException
- Specified by:
setLogWriter
in interface javax.sql.DataSource
java.sql.SQLException
- See Also:
DataSource.setLogWriter(PrintWriter)
getReference
public javax.naming.Reference getReference()
throws javax.naming.NamingException
- Specified by:
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
- See Also:
Referenceable.getReference()
setReference
public void setReference(javax.naming.Reference reference)
Copyright © 2000 Dummy Corp. All Rights Reserved.