Class JettyRails::Adapters::RailsAdapter
In: lib/jetty_rails/adapters/rails_adapter.rb
Parent: AbstractAdapter

Methods

Public Instance methods

[Source]

# File lib/jetty_rails/adapters/rails_adapter.rb, line 15
      def event_listeners
        [ Rack::RailsServletContextListener.new ]
      end

[Source]

# File lib/jetty_rails/adapters/rails_adapter.rb, line 6
      def init_params
        # please refer to goldspike and jruby-rack documentation
        # in: PoolingRackApplicationFactory 
        @rails_params ||= {
          'rails.root' => '/',
          'rails.env' => config[:environment]
        }.merge(base_init_params)
      end

[Validate]