JNDI specific connection pool callbacks that make sure the JNDI connection is disconnected on check-in and looked up (re-connected) on-checkout.
# File lib/arjdbc/jdbc/callbacks.rb, line 30 def self.prepare(adapter, connection) if adapter.is_a?(ConnectionPoolCallbacks) && connection.jndi? adapter.extend self # extend JndiConnectionPoolCallbacks connection.disconnect! # disconnect initial (JNDI) connection if any end end
Generated with the Darkfish Rdoc Generator 2.