ActiveRecord connection pool callbacks for JDBC. @see ActiveRecord::ConnectionAdapters::Jdbc::JndiConnectionPoolCallbacks
# File lib/arjdbc/jdbc/callbacks.rb, line 7 def self.included(base) if base.respond_to?(:set_callback) # Rails 3 callbacks base.set_callback :checkin, :after, :on_checkin base.set_callback :checkout, :before, :on_checkout else base.checkin :on_checkin base.checkout :on_checkout end end
Generated with the Darkfish Rdoc Generator 2.