开发者

Does need connect to local mbean server to access nested mbeans?

开发者 https://www.devze.com 2023-04-12 10:59 出处:网络
When I connect with JConsole I see that some开发者_JAVA百科 beans nested inside others. To access to nested beans must I create to mbean server?

When I connect with JConsole I see that some开发者_JAVA百科 beans nested inside others. To access to nested beans must I create to mbean server? Usually I give access like to spring beans (in description of bean I put names of beans that I need) Thanks.


The tree structure that Jconsole uses to display mbeans is simply a reflection of the structure of mbean object names: domain:key=val,key=val,.... The presentation could equally well be a simple flat list. This has nothing to with how you access mbeans.

You always access mbeans through an MBean server connection, local or remote, using the mbean object name.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号