jmx4r 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/Rakefile +1 -1
- data/lib/jdk/jdk5.rb +5 -5
- data/lib/jdk/jdk6.rb +1 -1
- data/lib/jdk_helper.rb +2 -2
- data/lib/jmx4r.rb +7 -7
- metadata +61 -76
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
data/lib/jdk/jdk5.rb
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
module JMX
|
3
3
|
module JDKHelper
|
4
4
|
module JDK5
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
java_import sun.jvmstat.monitor.HostIdentifier
|
6
|
+
java_import sun.jvmstat.monitor.MonitoredHost
|
7
|
+
java_import sun.jvmstat.monitor.MonitoredVmUtil
|
8
|
+
java_import sun.jvmstat.monitor.VmIdentifier
|
9
|
+
java_import sun.management.ConnectorAddressLink
|
10
10
|
|
11
11
|
class << self
|
12
12
|
|
data/lib/jdk/jdk6.rb
CHANGED
data/lib/jdk_helper.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
module JMX
|
3
3
|
module JDKHelper
|
4
|
-
|
4
|
+
java_import java.lang.System
|
5
5
|
|
6
6
|
class << self
|
7
7
|
|
@@ -29,7 +29,7 @@ module JMX
|
|
29
29
|
|
30
30
|
def has_java_class?(name)
|
31
31
|
begin
|
32
|
-
|
32
|
+
java_import name
|
33
33
|
true
|
34
34
|
rescue
|
35
35
|
retry if load_tools_jar
|
data/lib/jmx4r.rb
CHANGED
@@ -55,13 +55,13 @@ module JMX
|
|
55
55
|
end
|
56
56
|
|
57
57
|
class MBean
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
58
|
+
java_import java.util.HashMap
|
59
|
+
java_import javax.naming.Context
|
60
|
+
java_import javax.management.Attribute
|
61
|
+
java_import javax.management.ObjectName
|
62
|
+
java_import javax.management.remote.JMXConnector
|
63
|
+
java_import javax.management.remote.JMXConnectorFactory
|
64
|
+
java_import javax.management.remote.JMXServiceURL
|
65
65
|
JThread = java.lang.Thread
|
66
66
|
|
67
67
|
attr_reader :object_name, :operations, :attributes, :connection
|
metadata
CHANGED
@@ -1,96 +1,81 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
2
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
3
|
-
none: false
|
4
|
-
requirements:
|
5
|
-
- - '>='
|
6
|
-
- !ruby/object:Gem::Version
|
7
|
-
segments:
|
8
|
-
- 0
|
9
|
-
version: "0"
|
10
|
-
email: jmesnil@gmail.com
|
11
|
-
cert_chain: []
|
12
|
-
|
13
|
-
summary: jmx4r is a JMX library for JRuby
|
14
|
-
post_install_message:
|
15
|
-
extra_rdoc_files:
|
16
|
-
- README.rdoc
|
17
|
-
- LICENSE.txt
|
18
|
-
homepage: http://jmesnil.net/wiki/Jmx4r
|
19
|
-
signing_key:
|
1
|
+
--- !ruby/object:Gem::Specification
|
20
2
|
name: jmx4r
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.4
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jeff Mesnil
|
27
9
|
autorequire:
|
28
|
-
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-10-23 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: ! 'jmx4r is a JMX library for JRuby
|
29
15
|
|
16
|
+
'
|
17
|
+
email: jmesnil@gmail.com
|
30
18
|
executables: []
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
- examples/
|
38
|
-
- examples/
|
19
|
+
extensions: []
|
20
|
+
extra_rdoc_files:
|
21
|
+
- README.rdoc
|
22
|
+
- LICENSE.txt
|
23
|
+
files:
|
24
|
+
- examples/memory_types.rb
|
25
|
+
- examples/runtime_sysprops.rb
|
26
|
+
- examples/memory_on_many_nodes.rb
|
39
27
|
- examples/logging.rb
|
28
|
+
- examples/jvm_mngmt.rb
|
29
|
+
- examples/class_loading.rb
|
40
30
|
- examples/memory.rb
|
41
|
-
- examples/memory_on_many_nodes.rb
|
42
|
-
- examples/memory_types.rb
|
43
31
|
- examples/ruby_mbean.rb
|
44
|
-
-
|
45
|
-
- lib/dynamic_mbean.rb
|
32
|
+
- lib/objectname_helper.rb
|
46
33
|
- lib/jconsole.rb
|
47
34
|
- lib/jdk_helper.rb
|
48
|
-
- lib/jmx4r.rb
|
49
|
-
- lib/objectname_helper.rb
|
50
|
-
- lib/open_data_helper.rb
|
51
|
-
- lib/jdk/jdk4.rb
|
52
35
|
- lib/jdk/jdk5.rb
|
36
|
+
- lib/jdk/jdk4.rb
|
53
37
|
- lib/jdk/jdk6.rb
|
38
|
+
- lib/jmx4r.rb
|
39
|
+
- lib/dynamic_mbean.rb
|
40
|
+
- lib/open_data_helper.rb
|
41
|
+
- test/tc_multiple_connections.rb
|
42
|
+
- test/ts_all.rb
|
43
|
+
- test/tc_methods.rb
|
54
44
|
- test/tc_attributes.rb
|
55
|
-
- test/
|
45
|
+
- test/tc_dynamic_mbean.rb
|
56
46
|
- test/tc_composite_data.rb
|
57
47
|
- test/tc_connection.rb
|
58
|
-
- test/
|
59
|
-
- test/tc_methods.rb
|
60
|
-
- test/tc_multiple_connections.rb
|
61
|
-
- test/ts_all.rb
|
48
|
+
- test/tc_auth.rb
|
62
49
|
- Rakefile
|
63
50
|
- README.rdoc
|
64
51
|
- LICENSE.txt
|
65
|
-
|
52
|
+
homepage: http://jmesnil.net/wiki/Jmx4r
|
53
|
+
licenses: []
|
54
|
+
post_install_message:
|
55
|
+
rdoc_options:
|
56
|
+
- --title
|
57
|
+
- jmx4r Documentation
|
58
|
+
- --main
|
59
|
+
- README.rdoc
|
60
|
+
require_paths:
|
61
|
+
- lib
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
63
|
none: false
|
67
|
-
requirements:
|
68
|
-
- - '>='
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ! '>='
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
76
74
|
requirements: []
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
test_files:
|
75
|
+
rubyforge_project: jmx4r
|
76
|
+
rubygems_version: 1.8.24
|
77
|
+
signing_key:
|
78
|
+
specification_version: 3
|
79
|
+
summary: jmx4r is a JMX library for JRuby
|
80
|
+
test_files:
|
83
81
|
- test/ts_all.rb
|
84
|
-
version: !ruby/object:Gem::Version
|
85
|
-
segments:
|
86
|
-
- 0
|
87
|
-
- 1
|
88
|
-
- 3
|
89
|
-
prerelease: false
|
90
|
-
version: 0.1.3
|
91
|
-
require_paths:
|
92
|
-
- lib
|
93
|
-
dependencies: []
|
94
|
-
|
95
|
-
bindir: bin
|
96
|
-
has_rdoc: true
|