Class JettyRails::Adapters::MerbAdapter
In: lib/jetty_rails/adapters/merb_adapter.rb
Parent: AbstractAdapter

Methods

Classes and Modules

Class JettyRails::Adapters::MerbAdapter::SignalHandler

Public Instance methods

[Source]

# File lib/jetty_rails/adapters/merb_adapter.rb, line 14
      def event_listeners
        [ Rack::MerbServletContextListener.new, SignalHandler.new ]
      end

[Source]

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

[Validate]