org.objectweb.speedo.jca
Class SpeedoConnectionFactory

java.lang.Object
  extended by org.objectweb.speedo.jca.SpeedoConnectionFactory
All Implemented Interfaces:
java.io.Serializable, javax.naming.Referenceable, javax.resource.cci.ConnectionFactory
Direct Known Subclasses:
JDOConnectionFactory

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

See Also:
Serialized Form

Field Summary
protected  javax.resource.spi.ConnectionManager connectionManager
          The ConnectionManager used to actually get Connection.
protected  org.objectweb.util.monolog.api.Logger logger
          The logger into which traces about JDOConnectionFactory are produced.
 
Constructor Summary
SpeedoConnectionFactory()
           
 
Method Summary
abstract  java.lang.Object createConnection()
           
 void setConnectionManager(javax.resource.spi.ConnectionManager connectionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.resource.cci.ConnectionFactory
getConnection, getConnection, getMetaData, getRecordFactory
 
Methods inherited from interface javax.resource.Referenceable
setReference
 
Methods inherited from interface javax.naming.Referenceable
getReference
 

Field Detail

logger

protected org.objectweb.util.monolog.api.Logger logger
The logger into which traces about JDOConnectionFactory are produced.


connectionManager

protected javax.resource.spi.ConnectionManager connectionManager
The ConnectionManager used to actually get Connection.

Constructor Detail

SpeedoConnectionFactory

public SpeedoConnectionFactory()
Method Detail

createConnection

public abstract java.lang.Object createConnection()
                                           throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

setConnectionManager

public void setConnectionManager(javax.resource.spi.ConnectionManager connectionManager)