org.jboss.jca.core.connectionmanager
Class ConnectionRecord

java.lang.Object
  extended by org.jboss.jca.core.connectionmanager.ConnectionRecord

public class ConnectionRecord
extends Object

Information about a connection.

Author:
David Jencks, Adrian Brock, Gurkan Erdogdu, Jesper Pedersen

Constructor Summary
ConnectionRecord(org.jboss.jca.core.api.connectionmanager.listener.ConnectionListener cl, Object connection, javax.resource.spi.ConnectionRequestInfo cri)
          Creates a new connection record.
 
Method Summary
 Object getConnection()
          Get the connection
 ConnectionListener getConnectionListener()
          Get the connection listener
 javax.resource.spi.ConnectionRequestInfo getCri()
          Get the connection request info information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionRecord

public ConnectionRecord(org.jboss.jca.core.api.connectionmanager.listener.ConnectionListener cl,
                        Object connection,
                        javax.resource.spi.ConnectionRequestInfo cri)
Creates a new connection record.

Parameters:
cl - connection listener
connection - connection handle
cri - connection request info
Method Detail

getConnectionListener

public ConnectionListener getConnectionListener()
Get the connection listener

Returns:
The listener

getConnection

public Object getConnection()
Get the connection

Returns:
The connection

getCri

public javax.resource.spi.ConnectionRequestInfo getCri()
Get the connection request info information

Returns:
The information


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)