org.apache.commons.transaction.memory.jca
Class MapConnectionFactory
java.lang.Object
org.apache.commons.transaction.memory.jca.MapConnectionFactory
- All Implemented Interfaces:
- javax.resource.cci.ConnectionFactory, javax.naming.Referenceable, javax.resource.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapConnectionFactory
public MapConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager cm)
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.