org.jboss.jca.core.connectionmanager

## Class ConnectionRecord

- java.lang.Object
- - org.jboss.jca.core.connectionmanager.ConnectionRecord

-     public class ConnectionRecord
      extends java.lang.Object

  Information about a connection.
  Author:
    David Jencks, Adrian Brock, Gurkan Erdogdu, Jesper Pedersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConnectionRecord(org.jboss.jca.core.api.connectionmanager.listener.ConnectionListener cl, java.lang.Object connection)` Creates a new connection record.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `getConnection()` Get the connection
    `ConnectionListener` | `getConnectionListener()` Get the connection listener

    - ### 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,
                                  java.lang.Object connection)

      Creates a new connection record.
      Parameters:
        `cl` - connection listener
        `connection` - connection handle

  - ### Method Detail

    - #### getConnectionListener

          public ConnectionListener getConnectionListener()

      Get the connection listener
      Returns:
        The listener

    - #### getConnection

          public java.lang.Object getConnection()

      Get the connection
      Returns:
        The connection

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)