de.bea.domingo.connector.impl
Class DomingoConnectionFactoryImpl

java.lang.Object
  extended by de.bea.domingo.connector.impl.DomingoConnectionFactoryImpl
All Implemented Interfaces:
DomingoConnectionFactory, java.io.Serializable, javax.naming.Referenceable, javax.resource.cci.ConnectionFactory

public final class DomingoConnectionFactoryImpl
extends java.lang.Object
implements DomingoConnectionFactory

Author:
Kurt Riede
See Also:
Serialized Form

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

Constructor Detail

DomingoConnectionFactoryImpl

public DomingoConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf,
                                    javax.resource.spi.ConnectionManager cm)
Constructor.

Parameters:
mcf - the managed connection factory
cm - the connection manager
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
See Also:
ConnectionFactory.getConnection()

getConnection

public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec connectionSpec)
                                            throws javax.resource.ResourceException

Specified by:
getConnection in interface javax.resource.cci.ConnectionFactory
Throws:
javax.resource.ResourceException
See Also:
ConnectionFactory.getConnection(javax.resource.cci.ConnectionSpec)

getRecordFactory

public javax.resource.cci.RecordFactory getRecordFactory()
                                                  throws javax.resource.ResourceException

Specified by:
getRecordFactory in interface javax.resource.cci.ConnectionFactory
Throws:
javax.resource.ResourceException
See Also:
ConnectionFactory.getRecordFactory()

getMetaData

public javax.resource.cci.ResourceAdapterMetaData getMetaData()
                                                       throws javax.resource.ResourceException

Specified by:
getMetaData in interface javax.resource.cci.ConnectionFactory
Throws:
javax.resource.ResourceException
See Also:
ConnectionFactory.getMetaData()

setReference

public void setReference(javax.naming.Reference ref)

See Also:
Referenceable.setReference(javax.naming.Reference)

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException

Specified by:
getReference in interface javax.naming.Referenceable
Throws:
javax.naming.NamingException
See Also:
Referenceable.getReference()


Domingo 1.0 Java-API