Class: MotherBrain::Gear::JMX
- Defined in:
- lib/mb/gears/jmx.rb,
lib/mb/gears/jmx/action.rb
Defined Under Namespace
Classes: Action
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#action(port, object_name, &block) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/mb/gears/jmx.rb', line 13 def action(port, object_name, &block) unless jruby? raise ActionNotSupported, "The JMX Gear is only supported on JRuby" end JMX::Action.new(port, object_name, &block) end |