A standard approach is to use JMX, which provides a standard API to manage your application Settings.
标准的方法是使用JMX,它提供了一个标准的API来管理自己的应用程序设置。
The combination of JMX support in the platform and the jconsole JMX client offers a painless way to add management and monitoring capabilities to our applications.
结合平台内的JMX支持和jconsole JMX客户机可以提供一种向应用程序添加管理和监视功能的轻松方式。
JSR 160 will specify how discovery of JMX agents should be performed over a network and specific means of remotely accessing an agent's capabilities.
JSR 160将详细说明在一个网络上应该如何执行JMX代理的发现以及远程访问代理能力的具体方式。
Now that your JMX infrastructure is ready to run, you finally have to create a view to see the data in your managed applications.
既然您的JMX基础已经为运行做好准备了,那么最终您就需要创建一个视图以查看管理应用程序中的数据。
This was a great choice at the time but later on as POJO and AOP became the dominant programming model we started seeing the limitations of the JMX core.
在当时这是一种极好的选择,但是后来当POJO和AOP成为占主导地位的编程模型时,我们意识到了JMX核心的局限性。
JMX specifies a protocol used to communicate between the MBeanServer and the JMX client, which can run over a variety of transports.
JMX指定了在MBeanServer和JMX客户之间通信所使用的协议,协议可以在各种传输机制上运行。
The article includes a sample program so you can begin experimenting with a JMX client configuration administrator program.
这篇文章提供了一个示例程序,以便您能开始尝试使用JMX客户机配置管理员程序。
JMX is a standardized means for providing a remotely accessible management interface and is an easy way to add a flexible and powerful management interface to an application.
JMX是一种用来提供可以远程访问的管理接口的标准措施,也是一种向应用程序添加灵活且强大的管理接口的简易方式。
Many monitoring systems, however, do not have the built-in capability to obtain information from a JMX interface.
但是,许多监视系统没有从JMX接口获取信息的内置功能。
Through JMX technology, a set of platform resources to be controlled can be regarded as simple, well-defined objects whose properties map to the lower-level characteristics of the given resource.
通过JMX技术,一套需要控制的平台资源可以被当作简单的、定义良好的对象,对象的属性映射到给定资源的更低级特征上。
This is similar to the user specifying user name and password to login through the administrative console or through a JMX connector.
这与用户指定用户名和密码以通过管理控制台或JMX连接器登录类似。
The AdminControl object is used to manage the running instance of an application server by a JMX bean.
AdminControl对象用于通过JMXBean管理应用程序服务器的运行实例。
A JMX-enabled application relies on an MBeanServer, which ACTS as a container for MBeans, providing remote access, namespace management, and security services.
支持JMX的应用程序依赖于MBeanServer,它充当MBean的容器,提供远程访问、命名空间管理和安全服务。
To set up your JMX agent to accept remote connections, you need to pass a few more JMX-related flags to the JVM.
要设置JMX代理以接受远程连接,需要向JVM传递另外几个与JMX相关的标志。
Is accessed through a different set of JMX connector ports.
通过不同的JMX连接器端口集访问。
The MBeanFactory reads and parses an MBean Descriptor, and creates a JMX ModelMBean with the attributes, operations, and notifications declared in the descriptor.
MBeanFactory读取并解析MBean描述符,用描述符中声明的属性、操作和通知来创建JMXModelMBean。
The JMX Viewer displays the different types of MBeans in a tree representation.
JMXViewer采用树型表示法显示了不同类型的MBean。
This API provides a convenient mechanism for extracting data from JMX-instrumented entities and presenting it as part of an autonomic touchpoint.
此API提供了一个非常方便的机制,用于从使用JMX 工具的实体提取数据,并将其作为自主接触点的一部分呈现。
The JMX 1.2 specification also disallows the use of ":" as a valid property value within an ObjectName.
JMX 1.2规范还禁止将 “:”作为ObjectName 中有效的属性值来使用。
If the setter for a read-write property throws an exception (such as IllegalArgumentException), JMX reports the exception back to the client.
如果读写属性的setter抛出异常(例如IllegalArgumentException),JMX就把异常报告给客户机。
Using JMX means that each of the performance-statistics instances will be exposed as a management bean, thus yielding detailed performance data.
使用JMX意味着每个性能统计实例都会公开成一个管理bean,从而提供详细的性能数据。
In addition to having its lifecycle managed by Geronimo, a GBean can also expose attributes and operations that are manageable via JMX.
除了通过Geronimo管理其生命周期,GBean还可以公开那些可以通过JMX管理的属性和操作。
As I extend Spring JMX, I'll demonstrate each of the three areas of concern with a simple use case: an example service with start and stop methods and a read-write attribute to be managed.
在扩展SpringJMX时,我将用一个简单的案例分别展示这三个需要关注的领域:一个带有开始和停止方法并且有一个读写属性要管理的示例服务。
In addition to JMX interoperability, other parts of the Application Server runtime have also been enhanced to ensure they work in a mixed environment.
除了JMX的互操作性以外,为确保能够在混合环境下工作,ApplicationServer运行时的其他部分也得到了增强。
You can create a ThreadPoolStatus MBean to provide the management interface for the thread pool used to process these tasks and register it with JMX.
可以创建ThreadPoolStatusMBean,提供处理这些任务所使用的线程池的管理接口,并把它用JMX注册。
In this article, I use a relatively simple exercise — adding notification events to Spring-based application methods and attributes — to help you get comfortable with customizing Spring JMX.
在本文中,我使用了一种相对简单的操作——为基于Spring的应用程序的方法和属性增加通知事件——以帮助您熟悉对SpringJMX的定制。
To make a 5.0-compatible VM accessible to monitoring and management, you need to set up a port number for the platform's JMX agent using the following command-line option
为了让 5.0兼容的虚拟机可以被监视和管理,需要用以下命令行选项设置平台JMX代理的端口号
Deliverables of JMX include a set of specifications, documentation for the APIs, a reference implementation conforming to the JMX spec, and a compatibility test suite.
可交付使用的JMX包括一组规范、API文档、符合JMX规范的参考实现和兼容性测试套件。
A JMX agent is a software component that exposes a set of standardized agent services to remote management components and directly controls the JMX-manageable resources through their MBean interfaces.
JMX代理是软件组件,它向远程管理组件公开一组标准化代理服务并通过JMX可管理资源的MBean接口直接控制这些资源。
We now know that creating a capsd plugin, and a pollerd monitor will enable us to integrate OpenNMS with our JMX-enabled ClickMeter.
现在我们知道创建capsd插件和pollerd监控程序使我们能将OpenNMS与支持JMX的ClickMeter集成在一起。
应用推荐