Class: Trinidad::Extensions::SchedulerWebAppExtension

Inherits:
WebAppExtension
  • Object
show all
Defined in:
lib/trinidad_scheduler_extension/scheduler_extension.rb

Instance Method Summary collapse

Instance Method Details

#configure(tomcat, app_context) ⇒ Object



6
7
8
9
10
# File 'lib/trinidad_scheduler_extension/scheduler_extension.rb', line 6

def configure(tomcat, app_context)
  TrinidadScheduler.trinidad_scheduler_init_log4j

  app_context.add_lifecycle_listener(TrinidadScheduler::WebAppListener.new(app_context.servlet_context, @options))
end