Class: Trinidad::Lifecycle::WebApp::War

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

Instance Attribute Summary

Attributes included from Shared

#web_app

Instance Method Summary collapse

Methods included from Shared

#initialize

Methods inherited from Base

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

Instance Method Details

#after_start(event) ⇒ Object



15
16
17
18
# File 'lib/trinidad/lifecycle/web_app/war.rb', line 15

def after_start(event)
  super
  remove_war_app(event.lifecycle)
end

#before_start(event) ⇒ Object



10
11
12
13
# File 'lib/trinidad/lifecycle/web_app/war.rb', line 10

def before_start(event)
  expand_war_app(event.lifecycle)
  super # Shared#before_start
end

#configure(context) ⇒ Object



20
21
22
23
# File 'lib/trinidad/lifecycle/web_app/war.rb', line 20

def configure(context)
  super # TODO assuming warbler .war !
  configure_class_loader(context)
end