Sha256: 8fc5b921a6bf9f944ac14b82fedb92cf5e0bcc90e8073b2ef549822f0ded61f1
Contents?: true
Size: 624 Bytes
Versions: 1
Compression:
Stored size: 624 Bytes
Contents
module Trinidad module Extensions require File.expand_path('../../trinidad-libs/trinidad-hotdeploy-extension.jar', __FILE__) class HotdeployWebAppExtension < WebAppExtension VERSION = '0.1.1' def configure(tomcat, app_context) @options[:monitor] ||= File.join(app_context.doc_base, 'tmp/restart.txt') monitor = File.expand_path(@options[:monitor]) delay = @options[:delay] || 1000 listener = org.jruby.trinidad.HotDeployLifecycleListener.new(app_context, monitor, delay) app_context.addLifecycleListener(listener) listener end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trinidad_hotdeploy_extension-0.1.1 | lib/trinidad_hotdeploy_extension.rb |