JMX registers and accesses management objects using the ObjectName idiom.
JMX使用ObjectName语言注册和访问管理对象。
The main part of this code is simply to create the partial MBean ObjectName .
这段代码的主要部分只是用来创建部分MBean ObjectName 。
The following code will return the MBean ObjectName of PerfMBean in a server.
以下的代码将会返回服务器中的PerfMBean的MBeanObjectName。
Here we pass the same ObjectName and listener which we used to register the listener.
我们在这里传递了注册侦听器时所用的ObjectName和侦听器。
You should see the same long ObjectName returned from this command as the previous one.
您应当看到这个命令所返回的长长的ObjectName,这个ObjectName与前面一个相同。
The JMX 1.2 specification also disallows the use of ":" as a valid property value within an ObjectName.
JMX 1.2规范还禁止将 “:”作为ObjectName 中有效的属性值来使用。
You can create the ObjectName for your MBean to include these key properties with their values set appropriately.
您可以创建MBean的ObjectName,包含这些关键属性并恰当的设置它们的值。
A query string may either uniquely identify a single ObjectName, or represent multiple ObjectNames with common properties.
一个查询串既可惟一标识单个objectname,也可以代表多个具有公共特性的ObjectName。
The listener removal method is slightly different from the standard remove method, in that it does not take an ObjectName.
侦听器除去方法与标准的除去方法稍有差别,因为它不使用ObjectName。
In its place is a remove that exactly matches the standard remove method (it accepts an ObjectName and NotificationListener).
代替它的是一个与标准除去方法完全匹配的除去方法(它接受一个ObjectName和一个NotificationListener)。
You can reduce the notifications returned by changing the ObjectName query string, or by using the filtering parameter on the method call.
可以通过更改objectname查询字符串或对方法调用使用筛选参数来减少返回的通知。
Similarly, the ClassLoader attributes inject the current class loader, and the ObjectName attributes inject the current name into the GBean.
类似地,ClassLoader属性注入当前类装入器,ObjectName 属性把当前名称注入 GBean。
If an individual MBean provides the Stats attribute, the related PMI data can be obtained by getting the Stats attribute from an MBean once the ObjectName is obtained from Step 2.
如果一个单个的MBean提供了stats属性,那么一旦在步骤2中得到了ObjectName,就可以通过从MBean中获取Stats属性来得到相关的PMI数据。
If an individual MBean provides the Stats attribute, the related PMI data can be obtained by getting the Stats attribute from an MBean once the ObjectName is obtained from Step 2.
如果一个单个的MBean提供了stats属性,那么一旦在步骤2中得到了ObjectName,就可以通过从MBean中获取Stats属性来得到相关的PMI数据。
应用推荐