org.jboss.jca.adapters.jdbc.spi.listener

## Interface ConnectionListener

-     public interface ConnectionListener

  Define the SPI contract for a connection listener plugin for the JDBC resource adapter. The implementing class must have a default constructor. The implementing class must be thread safe. Java bean properties can be set, using the supported types by the Java EE Connector Architecture specification.
  Author:
    Jesper Pedersen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `activated(java.sql.Connection c)` Connection activated
    `void` | `initialize(java.lang.ClassLoader cl)` Initialize
    `void` | `passivated(java.sql.Connection c)` Connection passivated

- - ### Method Detail

    - #### initialize

          void initialize(java.lang.ClassLoader cl)
                   throws java.sql.SQLException

      Initialize
      Parameters:
        `cl` - The class loader which can be used for initialization
      Throws:
        `java.sql.SQLException` - Thrown in case of an error

    - #### activated

          void activated(java.sql.Connection c)
                  throws java.sql.SQLException

      Connection activated
      Parameters:
        `c` - The connection
      Throws:
        `java.sql.SQLException` - Thrown in case of an error

    - #### passivated

          void passivated(java.sql.Connection c)
                   throws java.sql.SQLException

      Connection passivated
      Parameters:
        `c` - The connection
      Throws:
        `java.sql.SQLException` - Thrown in case of an error

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