org.apache.commons.transaction.memory.jca
Class MapConnectionFactory

java.lang.Object
  extended byorg.apache.commons.transaction.memory.jca.MapConnectionFactory
All Implemented Interfaces:
javax.resource.cci.ConnectionFactory, javax.resource.Referenceable, javax.naming.Referenceable, java.io.Serializable

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

Version:
$Revision$
See Also:
Serialized Form

Constructor Summary
MapConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionManager cm)
           
 
Method Summary
 javax.resource.cci.Connection getConnection()
           
 javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec spec)
           
 javax.resource.cci.ResourceAdapterMetaData getMetaData()
           
 java.lang.String getName()
           
 javax.resource.cci.RecordFactory getRecordFactory()
           
 javax.naming.Reference getReference()
           
 void setName(java.lang.String string)
           
 void setReference(javax.naming.Reference reference)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapConnectionFactory

public MapConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf,
                            javax.resource.spi.ConnectionManager cm)
Method Detail

getConnection

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

getConnection

public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec spec)
                                            throws javax.resource.ResourceException
Specified by:
getConnection 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

getMetaData

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

setReference

public void setReference(javax.naming.Reference reference)
Specified by:
setReference in interface javax.resource.Referenceable

getReference

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

getName

public java.lang.String getName()

setName

public void setName(java.lang.String string)


Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.