This injects the log4j MBean into the MBean server.
这将把log4jMBean注入到MBean服务器。
The MBean server is a core component inside an agent.
MBean服务器是代理内部的核心组件。
The interface to access the MBean server is specified by JMX.
访问MBean服务器的接口由JMX指定。
The mbeanServer bean holds a reference to the existing MBean server.
mbeanServerbean 保存一个到现有MBean服务器的引用。
Once you create it, you need to register an MBean with an MBean server.
MBean创建好之后,需要注册到 MBean服务器上。
The aspect provides a setter to define which MBean server should be used for managing objects.
这个方面提供了一个设置器,定义应当用哪个MBean服务器管理对象。
The example administrative client connects to the MBean server through the deployment manager SOAP port.
示例管理客户端通过部署管理器SOAP端口连接到MBean服务器。
properties is included in the package; it contains the connection information for launching the MBean server.
属性包含在该程序包中;它包含有关启动MBean 服务器的连接信息。
Structuring your code to make calls on a connection to a remote VM's MBean server is one choice available to you.
组织代码,以对远程虚拟机的MBean服务器的连接进行调用,是一种可行的选择。
The combination of an MBean server with the mandatory JMX agent services is referred to as a JMX agent, shown in Figure 6.
MBean服务器与必需的JMX代理服务的结合,被称作JMX代理,如图6所示。
Listing 13 demonstrates how to access the information about all current threads in the VM through the MBean server connection.
清单13展示了通过MBean服务器连接来访问虚拟机中所有当前线程的信息。
In order for an MBean to be exposed to a JMX client, it must be registered with an MBean server running inside of a JMX agent.
为了让MBean呈现给JMX客户机,必须使用一个内部运行有JMX代理的MBean服务器注册它。
Open the launch configuration of your server and configure the JMX Mbean server for your hand-coded part. Add the code shown in Listing 15.
打开服务器的启动配置然后为手工代码部分配置JMXMbean服务器。
It accesses all the configuration components (same as those defined in the server.xml file) via the MBean server of the local JMX agent.
它通过本地JMX代理的MBean服务器访问所有的配置组件(与server . xml文件中定义的那些相同)。
With the remote agent listening, you could use the code snippet in Listing 4 to obtain a reference to the associated MBean server connection.
有了远程代理侦听,就可以使用清单4中的代码段获得相关MBean服务器连接的引用。
Agents also provide a set of agent services that can be used by the custom agent logic to operate on the registered MBeans in the MBean server.
代理还提供了一组代理服务,定制代理逻辑可以使用它们在MBean服务器中对已注册的MBean进行操作。
A JMX agent can make its managed resources — that is, the set of MBeans currently registered in its MBean server — available to other remote agents.
JMX代理可以让它的托管资源——也就是说,目前注册到它的MBean服务器上的mbean集——对其他远程代理可用。
In addition to playing the role of an MBean registry, the MBean server also provides a way for management systems to find and utilise registered MBeans.
除了充当MBean的注册表,MBean服务器还提供了让管理系统发现和利用已注册MBean的方式。
Note that the four major components inside an agent are the MBean server, a set of agent services, connectors and protocol adapters, and custom agent logic.
请注意,代理内部的四种主要组件是MBean服务器、一组代理服务、连接器和协议适配器以及定制代理逻辑。
Once the MBean server has been started, the JLAGui can request lock statistics from the running application by navigating though the server into the native library and then on into the running JVM.
启动MBean服务器之后,JLAGui可以通过将该服务器导航到本地库中,然后导航到运行的JVM中,从而请求运行的应用程序的锁统计信息。
Any MBean registered with the MBean server (discussed later) in the JMX agent can have its management interface (attributes, operations, and events) exposed to remote NMSs or other JMX applications.
任何已向JMX代理中的MBean服务器(稍后讨论)注册的MBean都可以将其管理接口(属性、操作和事件)向远程NMS或其它JMX应用程序公开。
Select Enable Startup so that the custom MBean starts every time the server starts.
选择EnableStartup,这样每次启动服务器时自定义MBean 都要启动。
Use the following code to get all the configuration information from the server, find the PmiModuleConfig for an MBean, and bind the Stats data with the configuration data.
请使用以下的代码来从服务器获取所有的配置信息,查找某一mBean的PmiModuleConfig,并将配置数据和Stats数据绑定在一块。
We use the extended add method so that we can listen to a server even if it is currently stopped (in which case the MBean is not yet activated).
我们使用扩展的添加方法,这样就能侦听服务器,即使它当前已停止(在此种情况下,MBean还未被激活)。
Once the Extension MBean Provider definition has been applied (whether saved to the master repository or not), it will show up in the Extension MBean Providers page for this server (Figure 8).
在应用了扩展MBean提供程序定义之后(无论是否保存到主库),这个定义将出现在这个服务器的Extension MBeanProviders页面中(图8)。
The following code will return the MBean ObjectName of PerfMBean in a server.
以下的代码将会返回服务器中的PerfMBean的MBeanObjectName。
Listing 1 shows an MBean interface for a network service such as a Web server.
清单1显示了网络服务(例如Web服务器)的MBean接口。
After invoking the snoopy operation on the MBean, look back in the SystemOut.log file for the server and you will see.
在调用MBean的snoopy操作之后,回过头去再看看服务器的SystemOut . log文件,您将看到。
The invokeStop method stops the server by invoking the stop operation on the Server MBean
InvokeStop方法通过调用Server MBean的stop操作来停止服务器。
You can also use a WebSphere CustomService to extend the server run time itself with a piece of code that activates the MBean.
您还可以使用WebSphereCustomService和一段激活MBean的代码来扩展服务器运行时本身。
应用推荐