Class: JMX::Parameter
- Inherits:
-
Object
- Object
- JMX::Parameter
- Includes:
- JavaTypeAware
- Defined in:
- lib/jmx/dynamic_mbean.rb
Constant Summary
Constants included from JavaTypeAware
Instance Method Summary collapse
-
#initialize(type, name, description) ⇒ Parameter
constructor
A new instance of Parameter.
- #to_jmx ⇒ Object
Methods included from JavaTypeAware
Constructor Details
#initialize(type, name, description) ⇒ Parameter
Returns a new instance of Parameter.
39 40 41 |
# File 'lib/jmx/dynamic_mbean.rb', line 39 def initialize(type, name, description) @type, @name, @description = type, name, description end |
Instance Method Details
#to_jmx ⇒ Object
43 44 45 |
# File 'lib/jmx/dynamic_mbean.rb', line 43 def to_jmx MBeanParameterInfo.new @name.to_s, to_java_type(@type), @description end |