org.teiid.resource.spi
Class BasicConnectionFactory

java.lang.Object
  extended by org.teiid.resource.spi.BasicConnectionFactory
All Implemented Interfaces:
java.io.Serializable, javax.naming.Referenceable, javax.resource.cci.ConnectionFactory

public abstract class BasicConnectionFactory
extends java.lang.Object
implements javax.resource.cci.ConnectionFactory

See Also:
Serialized Form

Constructor Summary
BasicConnectionFactory()
           
 
Method Summary
abstract  BasicConnection getConnection()
           
 BasicConnection getConnection(javax.resource.cci.ConnectionSpec arg0)
           
 javax.resource.cci.ResourceAdapterMetaData getMetaData()
           
 javax.resource.cci.RecordFactory getRecordFactory()
           
 javax.naming.Reference getReference()
           
 void setReference(javax.naming.Reference arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicConnectionFactory

public BasicConnectionFactory()
Method Detail

getConnection

public abstract BasicConnection getConnection()
                                       throws javax.resource.ResourceException
Specified by:
getConnection in interface javax.resource.cci.ConnectionFactory
Throws:
javax.resource.ResourceException

getConnection

public BasicConnection getConnection(javax.resource.cci.ConnectionSpec arg0)
                              throws javax.resource.ResourceException
Specified by:
getConnection in interface javax.resource.cci.ConnectionFactory
Throws:
javax.resource.ResourceException

getMetaData

public javax.resource.cci.ResourceAdapterMetaData getMetaData()
                                                       throws javax.resource.ResourceException
Specified by:
getMetaData in interface javax.resource.cci.ConnectionFactory
Throws:
javax.resource.ResourceException

getRecordFactory

public javax.resource.cci.RecordFactory getRecordFactory()
                                                  throws javax.resource.ResourceException
Specified by:
getRecordFactory in interface javax.resource.cci.ConnectionFactory
Throws:
javax.resource.ResourceException

setReference

public void setReference(javax.naming.Reference arg0)

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Specified by:
getReference in interface javax.naming.Referenceable
Throws:
javax.naming.NamingException


Copyright © 2010. All Rights Reserved.