Class: JettyRails::Adapters::MerbAdapter::SignalHandler
- Inherits:
-
Object
- Object
- JettyRails::Adapters::MerbAdapter::SignalHandler
- Includes:
- Java::JavaxServlet::ServletContextListener
- Defined in:
- lib/jetty_rails/adapters/merb_adapter.rb
Instance Method Summary collapse
Instance Method Details
#contextDestroyed(cfg) ⇒ Object
28 29 |
# File 'lib/jetty_rails/adapters/merb_adapter.rb', line 28 def contextDestroyed(cfg) end |
#contextInitialized(cfg) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/jetty_rails/adapters/merb_adapter.rb', line 21 def contextInitialized(cfg) trap("INT") do puts "\nbye!" java.lang.System.exit(0) end end |