Class: Trinidad::Lifecycle::WebApp::Default

Inherits:
Base
  • Object
show all
Includes:
Shared
Defined in:
lib/trinidad/lifecycle/web_app/default.rb

Instance Attribute Summary

Attributes included from Shared

#web_app

Instance Method Summary collapse

Methods included from Shared

#before_start, #initialize

Methods inherited from Base

#after_destroy, #after_init, #after_start, #after_stop, #before_destroy, #before_init, #before_start, #before_stop, #configure_start, #configure_stop, #lifecycleEvent, #periodic, #start, #stop

Instance Method Details

#configure(context) ⇒ Object



7
8
9
10
11
12
13
14
15
16
# File 'lib/trinidad/lifecycle/web_app/default.rb', line 7

def configure(context)
  super
  deployment_descriptor = configure_deployment_descriptor(context)
  unless deployment_descriptor
    configure_rack_servlet(context)
    configure_rack_listener(context)
  end
  configure_context_params(context)
  configure_context_loader(context)
end