org.jclarion.clarion.jdbc
Class PgSource

java.lang.Object
  extended by org.jclarion.clarion.jdbc.PgSource
All Implemented Interfaces:
AbstractJDBCSource

public class PgSource
extends java.lang.Object
implements AbstractJDBCSource


Field Summary
static java.util.logging.Logger log
           
 
Constructor Summary
PgSource(java.lang.String name)
           
 
Method Summary
 void copyConnection(java.lang.Thread from, java.lang.Thread to)
           
static void decodeSQLASCIIString(java.io.InputStream is, java.io.Writer c_helper)
           
 java.lang.Object get(java.lang.Object key)
           
 java.sql.Connection getConnection()
           
 java.lang.String getName()
           
 java.sql.Connection newConnection()
           
 void put(java.lang.Object key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static java.util.logging.Logger log
Constructor Detail

PgSource

public PgSource(java.lang.String name)
Method Detail

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Specified by:
getConnection in interface AbstractJDBCSource
Throws:
java.sql.SQLException

copyConnection

public void copyConnection(java.lang.Thread from,
                           java.lang.Thread to)

newConnection

public java.sql.Connection newConnection()
Specified by:
newConnection in interface AbstractJDBCSource

getName

public java.lang.String getName()
Specified by:
getName in interface AbstractJDBCSource

put

public void put(java.lang.Object key,
                java.lang.Object value)
         throws java.sql.SQLException
Specified by:
put in interface AbstractJDBCSource
Throws:
java.sql.SQLException

get

public java.lang.Object get(java.lang.Object key)
                     throws java.sql.SQLException
Specified by:
get in interface AbstractJDBCSource
Throws:
java.sql.SQLException

decodeSQLASCIIString

public static void decodeSQLASCIIString(java.io.InputStream is,
                                        java.io.Writer c_helper)
                                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.