Class: JettyRails::Adapters::RailsAdapter
- Inherits:
-
AbstractAdapter
- Object
- AbstractAdapter
- JettyRails::Adapters::RailsAdapter
- Defined in:
- lib/jetty_rails/adapters/rails_adapter.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from AbstractAdapter
Instance Method Summary collapse
Methods inherited from AbstractAdapter
#base_init_params, #initialize
Constructor Details
This class inherits a constructor from JettyRails::Adapters::AbstractAdapter
Instance Method Details
#event_listeners ⇒ Object
15 16 17 |
# File 'lib/jetty_rails/adapters/rails_adapter.rb', line 15 def event_listeners [ Rack::RailsServletContextListener.new ] end |
#init_params ⇒ Object
6 7 8 9 10 11 12 13 |
# 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 |