Class: ActiveRecord::Base Private

Inherits:
Object
  • Object
show all
Defined in:
lib/torquebox/transactions/ext/active_record/base.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Class Method Details

.configurationsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



25
26
27
28
29
30
31
# File 'lib/torquebox/transactions/ext/active_record/base.rb', line 25

def configurations
  xa_configs = configurations_before_torquebox.dup
  TorqueBox.fetch( 'xa-ds-info' ).configurations.each do |config|
    xa_configs[ config.name ][ 'jndi' ] = config.jndi_name
  end
  xa_configs
end

.configurations_before_torqueboxObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



23
# File 'lib/torquebox/transactions/ext/active_record/base.rb', line 23

alias_method :configurations_before_torquebox, :configurations