Class JettyRails::Adapters::AbstractAdapter
In: lib/jetty_rails/adapters/abstract_adapter.rb
Parent: Object

Methods

Attributes

config  [R] 

Public Class methods

[Source]

# File lib/jetty_rails/adapters/abstract_adapter.rb, line 6
      def initialize(config)
        @config = config
      end

Public Instance methods

[Source]

# File lib/jetty_rails/adapters/abstract_adapter.rb, line 10
      def base_init_params()
        @base_init_params ||= { 
          'public.root' => '/public',
          'gem.path' => config[:gem_path] || ENV['GEM_PATH'] || 'tmp/war/WEB-INF/gems',
          'jruby.initial.runtimes' => "#{config[:jruby_min_runtimes]}",
          'jruby.min.runtimes' => "#{config[:jruby_min_runtimes]}",
          'jruby.max.runtimes' => "#{config[:jruby_max_runtimes]}"
        }
      end

[Source]

# File lib/jetty_rails/adapters/abstract_adapter.rb, line 20
      def event_listeners
        []
      end

[Validate]