Java Reference
In-Depth Information
Figure 2.5
The Agent View page
presented by the
HTML adapter
the list will only show your HelloWorld MBean. You can enter partial object
names by following the rules listed in table 2.2.
Table 2.2
Agent View filtering rules
MBean filter rule
Example
Use the * character as an alphanumeric wildcard for multiple characters,
and as a wildcard for key/value pairs.
*:name=helloWorld1,*
Use the ? character as a wildcard for one character.
??Agent:name=helloWorld1
If you do not specify a domain name, the filter assumes you mean the
default domain. You must specify at least one key/value pair (or use *).
*:*
Partial domain names are valid, but you cannot specify partial key/value
pairs (for the key or the value).
??Agent:name=helloWorld1
All keys must be matched exactly or use a wildcard.
??Agent:*
Key/value pairs can be specified in any order.
Try filtering the MBean list on your own; doing so will help you get the hang of
the ObjectName format. When you are done, return the filter to *:* so you can
view all MBeans.
Note that the list includes an MBean you did not register in section 2.4: the
MBeanServerDelegate MBean. The MBeanServerDelegate is an MBean created by
the MBeanServer to handle certain tasks—specifically, sending out notifications
for the MBean server. The MBeanServer registers this MBean with a different
domain in order to keep it separated from any others that will be registered.
Now that all the MBeans are visible, click the MBeanServerDelegate MBean
link; it will take you to the MBean View presented by the HTML adapter.
Search WWH ::




Custom Search