Sha256: 5b0e2f0ac45bf3b62fad1ef9c4f1b000fb8812ce069d76a66ade24d16d7fbdfa

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

module Trinidad  
  module Extensions
    
    class SchedulerWebAppExtension < WebAppExtension
      
      def configure(tomcat, app_context)
        app_context.add_lifecycle_listener(TrinidadScheduler::WebAppListener.new(app_context.servlet_context, @options))
      end
    end
    
    class SchedulerServerExtension < ServerExtension
      
      def configure(tomcat)
        tomcat.get_host.add_container_listener(TrinidadScheduler::GlobalListener.new(@options))
      end
    end
  end
end    

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trinidad_scheduler_extension-0.1.0 lib/trinidad_scheduler_extension/scheduler_extension.rb