单词 | Mbean | ||||||||||||||||
释义 | Mbean
更多释义 收起释义 例句释义: 初始化并启动,管理构件,模型 1. 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服务器注册它。 www.ibm.com 2. As you work more with JMX, however, you could notice a number of idiosyncrasies when using implicit MBean construction. 不过,使用JMX时,在使用隐式MBean构造时会注意到一些特性。 www.ibm.com 3. Select the ExtensionMBeans link at the bottom of the page to define the Voter MBean that this provider supports. 为了定义这个提供程序支持的VoterMBean,请选择页面底部的ExtensionMBeans链接。 www.ibm.com 4. If you think an MXBean sounds like a type of the possibly more familiar MBean, then you are correct. 如果觉得MXBean听起来更像某种可能更熟悉的MBean,那么就对了。 www.ibm.com 5. Name (required) - the name to use for identifying this specific Extension MBean Provider within the configuration. Name(必需)-用于在配置中标识这个特定的扩展MBean提供程序的名称。 www.ibm.com 6. One way of finding out could be to periodically search for the Server MBean, and when it cannot be found, the process is stopped. 一种了解进程何时彻底停止的方法可以是周期性地搜索ServerMBean,如果找不到,就表示进程停止了。 www.ibm.com 7. Underpinning everything you have read so far is the concept of a managed bean, or MBean. 到此为止所阅读的基础内容是托管bean或MBean的概念。 www.ibm.com 8. Structuring your code to make calls on a connection to a remote VM's MBean server is one choice available to you. 组织代码,以对远程虚拟机的MBean服务器的连接进行调用,是一种可行的选择。 www.ibm.com 9. The only thing left to do now is register an MBean by adding it to the map of beans inside the exporter bean. 现在仅需将MBean添加到exporterbean内部的bean映射中,以注册它。 www.ibm.com 10. JMX and custom MBeans make it possible to support powerful remote customized administration of your applications. JMX和自定义MBean使得您的应用程序能够支持强大的远程自定义管理。 www.ibm.com 1. Or by using a Standard MBean instance, which takes a class as a constructor argument, along with an optional interface class specification. 结束的接口,也可以使用一个以一个类作为构造函数参数的StandardMBean实例,加上一个可选的接口类规范。 www-128.ibm.com 2. WebSphere MBean Descriptors declare all of the attributes, operations, and notifications for a given MBean type. WebSphereMBean描述符声明了给定的MBean类型的所有的属性、操作和通知。 www.ibm.com 3. The aspect provides a setter to define which MBean server should be used for managing objects. 这个方面提供了一个设置器,定义应当用哪个MBean服务器管理对象。 www-128.ibm.com 4. Selecting the Operations node in the left-hand tree structure displays the operations associated with that MBean. 选择左侧树结构中的Operations节点将显示与该MBean有关的操作。 www.ibm.com 5. Now that we understand how the MBean interface works, what can it tell us that will help with operational monitoring? 现在我们已经了解到MBean接口的工作方式,但它能够提供哪些有助于操作监视的信息呢? www.ibm.com 6. After all of the proxied MBeans have been detected, the Master Agent tool tells the General Agents to start sending events. 检测到所有经过代理的Mbean,主代理工具将告知普通代理开始发送事件。 www.ibm.com 7. Type grails run-app and confirm in JConsole that the log4j MBean doesn't show up in development mode. 输入grailsrun-app并在JConsole中确定log4jMBean没有出现在开发模式中。 www.ibm.com 8. Provide an improved layer of abstraction and extend the Dynamic MBean model to further remove dependencies on a given implementation. 提供了一个改进的抽象层,并扩展了DynamicMBean模型以进一步减少对给定实现的依赖性。 www-128.ibm.com 9. After that, your MBean becomes accessible through the network defined by the entire WebSphere distributed cell. 此后就可以通过由整个WebSphere分布式单元定义的网络来访问您的MBean。 www.ibm.com 10. It is necessary to add a JMX event listener to the AppManagement MBean to understand the completion of update operation. 有必要向AppManagementMBean添加一个JMX事件,以了解更新操作是否完成。 www.ibm.com 1. You can think of MBeans as being the programmatic representation of the management interface of a resource. 可以把MBean当成资源的管理接口的可编程表示。 www.ibm.com 2. A good approach is to create a separate module just for registering the MBean and grant only that the needed permissions. 一个不错的方法是创建一个专门用于注册Mbean的独立模块,并仅授予所需的权限。 www.ibm.com 3. This allows you to add a listener on two sets of MBeans (with two addNotificationListenerExtended calls) and remove it from only one set. 这样就允许您将一个侦听器同时添加到两个MBean集合(用两次addNotificationListenerExtended调用),并且只从其中的一个集合中除去该侦听器。 www.ibm.com 4. The MBean model implementation utilizes a few utility classes associated with JDOM in the package com. claudeduguay. util. jdom. MBean模型实现利用了com.claudeduguay.util.jdom包中几个与JDOM相关的工具类。 www.ibm.com 5. Figure 7 illustrates how MBean is used to add instrumentation to a device and a software service. 图7说明了如何使用MBean来将工具添加到设备和软件服务。 www.ibm.com 6. Update of the service logic can be performed dynamically at run time by downloading the MBean. 可以通过下载MBean在运行时动态地执行服务逻辑的更新。 www.ibm.com 7. If the specified number is not detected, the tool will wait in an infinite loop. 如果未检测到指定数量的Mbean,工具将会无限期等待。 www.ibm.com 8. The example administrative client connects to the MBean server through the deployment manager SOAP port. 示例管理客户端通过部署管理器SOAP端口连接到MBean服务器。 www.ibm.com 9. One is that the MBean must be present on the system to add a listener to it. 其一是MBean必须在系统上,这样才能将侦听器添加到MBean。 www.ibm.com 10. Set the priority attribute of the root MBean back to ERROR to cut down the noise level. 将根MBean的优先级属性设置回ERROR来减少干扰。 www.ibm.com 1. If the system resource limit or the capacity MBean attributes are reached, CM Server issues a "Server is busy" error. 如果系统资源有限,或者达到了容量MBean属性,那么CM服务器会显示出“服务器繁忙”的错误。 www.ibm.com 2. Note that the corresponding MBean is the JMX-internal representation of the device or service. 请注意,相应的MBean是设备或服务的JMX内部表示。 www.ibm.com 3. The JRules execution server defines several security roles to restrict access to its MBean. JRulesExecutionServer定义几个安全角色以限制对它的MBean的访问。 www.ibm.com 4. 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的代码来扩展服务器运行时本身。 www.ibm.com 5. One solution is to maintain concurrency counters in a guaranteed unique location in the JVM, such as an MBean in the platform agent. 解决这个问题的办法为:将并发计数器保存在JVM的一个特定的受保护位置中,诸如平台代理中的MBean。 www.ibm.com 6. Standard MBean implementations often construct these internally but they are never seen directly by the developer. StandardMBean实现通常在内部构造这些内容,开发人员不能直接看到它们。 www-128.ibm.com 7. If an MBean is a statistics provider, its PMI statistical data can be retrieved from the MBean using the Stats attribute. 如果某一MBean是一个统计提供者,那么它的PMI统计数据可以使用Stats属性从MBean进行检索。 www.ibm.com 8. properties is included in the package; it contains the connection information for launching the MBean server. 属性包含在该程序包中;它包含有关启动MBean服务器的连接信息。 www.ibm.com 9. MBeans provide the instrumentation layer for manageable resources like applications, services, and devices. MBean为受管资源(如应用程序、服务和设备)提供了设施层。 www.ibm.com 10. The General Agent MBeans start new threads that emit events. 普通代理MBean将启动发送事件的新线程。 www.ibm.com 1. configId - an optional string that identifies the configuration information for the MBean, if applicable. configId-(如果适用)标识MBean的配置信息的可选的字符串。 www.ibm.com 2. Once the changes have been saved, the definition of the new Extension MBean should look like Figure 11. 在保存了更改之后,新的扩展MBean的定义与图11相似。 www.ibm.com 3. MBeans are useful for the automation of administrative tasks and monitoring of the process server environment. MBean对自动化管理任务和监视流程服务器环境非常有用。 www.ibm.com 4. The test does not continue until the specified number of proxied MBeans are detected. 在完成指定数量的经过代理的Mbean的创建前,测试并不会继续。 www.ibm.com 5. The NotificationService MBean contains an operation which allows client processes to emit notifications. NotificationServiceMBean包含一个允许客户机进程发出通知的操作。 www.ibm.com 6. Select Apply to store this new Extension MBean Provider definition in your temporary configuration workspace. 选择Apply以使这个新的扩展MBean提供程序定义被存储在临时的配置工作空间中。 www.ibm.com 7. This simple agent exposes the attributes and operations of all the MBeans it manages through the HTTP protocol adapter. 这个简单的代理通过HTTP协议适配器公开它管理的所有MBean的属性和操作。 www.ibm.com 8. For example, say you implemented a JMX MBean and wanted to pass a class you created as a parameter to one of its methods. 例如,假定您实现了一个JMXMBean,并想将您所创建的一个类作为MBean方法的参数进行传送。 www.ibm.com 9. The proxies also register to listen and re-emit notifications from the MBean implementations. 代理也注册以侦听和重新发出来自MBean实现的通知。 www.ibm.com 10. You can create the ObjectName for your MBean to include these key properties with their values set appropriately. 您可以创建MBean的ObjectName,包含这些关键属性并恰当的设置它们的值。 www.ibm.com 1. In JMX, MBean has inheritance patterns and notification model and different types. MBean有不同的分类、继承模式、事件通告模型等。 www.juhe8.com 2. This will ensure that the MBean is properly de-registered when the application is uninstalled. 这可以确保在卸载应用程序时正确地取消注册MBean。 www.ibm.com 3. The verbs may be different, but the end result is the same: your MBean becomes visible to the JMX client. 动作对象可能不同,但最终结果是一样的:MBean变为对JMX客户机是可视的。 www.ibm.com 4. Invoking the getStatsObject method allows access to PMI modules and submodules that do not have matching MBeans in the server. 调用getStatsObject方法可以访问在服务器中没有匹配的MBean的PMI模块和子模块。 www.ibm.com 5. You can access the failed event manager via the administrative console or via an MBean interface. 可以通过管理控制台或MBean接口访问失败事件管理器。 www.ibm.com 6. In some cases, a collection's target MBean attribute might not be a flat numeric type. 在某些情况下,收集的目标MBean属性可能不是纯数值类型。 www.ibm.com 7. When a server is starting, the Server MBean emits a j2ee. state. starting notification. 当服务器启动时,ServerMBean会发出一个j2ee.state.starting通知。 www.ibm.com 8. The JMX Viewer displays the different types of MBeans in a tree representation. JMXViewer采用树型表示法显示了不同类型的MBean。 www.ibm.com 9. In the latter case, an MBean can be further identified by its name. 在后面的情况中,MBean可以由它的名字进一步地识别。 www.ibm.com 10. The other advantage of the extended registration method is that it will add listeners to MBeans which do not yet exist. 扩展的注册方法的另一个优点就是:它可将侦听器添加到还未存在的MBean。 www.ibm.com 1. Description (optional) - Any useful text that can help distinguish this Extension MBean Provider from others. Description(可选)-任何有助于区别于其它扩展MBean提供程序的有用的文本。 www.ibm.com 2. It returns a list of all available MBeans of that name. 这样可返回所有使用该名称的可用Mbean列表。 www.ibm.com 3. Similarly, the NodeAgent MBean only generates notifications for servers. 类似地,NodeAgentMBean仅为服务器生成通知。 www.ibm.com 4. The following example shows how an object can register itself for these notifications, which are emitted from the TaskManagement MBean. 下面的示例说明一个对象是如何为这些从TaskManagementMBean发出的通知而注册自身的。 www.ibm.com 5. To create a managed service, you need to create an MBean interface specifying the management methods. 要创建管理服务,需要创建指定管理方法的MBean接口。 www.ibm.com 6. However, there is no such run time MBean for this logic group. 然而,并没有用于这一逻辑组运行时MBean。 www.ibm.com 7. All MBeans must be registered with the MBean server before they can be accessed by remote applications. 所有MBean在可以通过远程应用程序访问之前都必须向MBean服务器注册。 www.ibm.com 8. This is possible because an MXBean is a kind of MBean and may be remotely managed using the standard JMX services available in Java 5. 0. 这是有可能的,因为MXBean是一种MBean,可以用Java5.0可用的标准JMX服务远程地进行管理。 www.ibm.com 9. The tree structure along the left-hand side displays all currently running MBeans. 左侧的树结构显示当前运行的所有MBean。 www.ibm.com 10. Some MBeans may require persistence support to ensure proper operation. 一些MBean可能需要持久性支持以确保正确的操作。 www.ibm.com 1. An MBean interface for the client registry. 用于客户注册的MBean接口 wenku.baidu.com 2. For MBeans, you need to be aware that their use requires elevated Java 2 security permissions. 对于Mbean,您需要注意,要使用它们,需要提升Java2安全性权限。 www.ibm.com 3. MBeans are usually categorized by their types. MBean通常是以它们的类型进行分类的。 www.ibm.com 4. There are no Extension MBean Providers defined by default, so this page will initially be empty. 没有缺省定义的扩展MBean提供程序,所以,最初这个页面是空的。 www.ibm.com 5. The WSS runtime simulator operates on the data via MBean. WSS运行时模拟器通过MBean操作数据。 www.ibm.com 6. This must match the type declared in the MBean descriptor file which, in our example, is Voter . 这必须与MBean描述符文件中声明的类型相匹配,在我们的示例中,它是Voter。 www.ibm.com 7. This is an example of one of the many operations that you can invoke on the JVM using the platform MBeans. 这是使用平台MBean可以在JVM上执行的众多操作中的一个示例。 www.ibm.com 8. This generally means that to send a notification, you would need to create your own MBean and register it with the MBeanServer. 这通常表示要想发送一个通知,您就需要创建您自己的MBean,同时向MBeanServer注册它。 www.ibm.com 9. If you are using MBeans, then there's a simple mapping strategy to OSGi services. 如果你是用MBean,那么就会有很简单的策略让你可以把它们映射成为OSGi服务。 www.infoq.com 10. Now let's manipulate the live MBean executing in the server. 现在我们来操纵在服务器中执行的活动的MBean。 www.ibm.com 1. The mbeanServer bean holds a reference to the existing MBean server. mbeanServerbean保存一个到现有MBean服务器的引用。 www.ibm.com 2. The MBean server is a core component inside an agent. MBean服务器是代理内部的核心组件。 www.ibm.com 3. Fill out the appropriate information about the MBean (see Figure 1). 填写有关MBean的正确信息(请参见图1)。 www.ibm.com 4. Select New to define a new MBean for this provider. 为了定义这个提供程序的新的MBean,请选择New。 www.ibm.com 5. The MBeans tab has been improved to allow for easier access to your MBeans' operations and attributes. MBeans选项卡进行了增强,可以更轻松地访问MBean的操作和属性。 www.ibm.com 6. Figure 2 shows the Attributes tab in jconsole for the new MBean, and Figure 3 shows the Operations tab. 图2显示了jconsole中针对新MBean的Attributes标签,图3显示了Operations标签。 www.ibm.com 7. Lines 52 through 57: implement trivial logic for the setBallots operation declared for this MBean. 第52至57行:实现为这个MBean声明的setBallots操作的不重要的逻辑。 www.ibm.com 8. In Step 4, only one Stats object from one MBean can be obtained in a single getAttribute call. 在步骤4中,一次getAttribute调用只能从某一MBean得到一个Stats对象。 www.ibm.com 9. In addition to changing attribute values, you can also call methods on an MBean. 除了更改属性值以外,您还可以调用MBean上的方法。 www.ibm.com 10. Written and deployed MBeans are exposed via MBeanServer instances to bring interactivity to various application views. 编写和部署的MBean是通过MBeanServer接口开放的,以使不同的应用程序视图具有交互性。 www.ibm.com 1. We will use this information to access the MBean remotely from OpenNMS. 我们将用该信息来从OpenNMS远程地访问MBean。 www.ibm.com 2. A notification is emitted from a particular MBean, called the source . 发出通知的特定的MBean被称作源(source)。 www.ibm.com 3. The target MBean for collection, or a wildcard object name. 收集的目标MBean,或通配符形式的对象名称。 www.ibm.com 4. However, there is a way to send notifications without actually writing an MBean. 然而,也存在一种不必实际编写MBean就能发送通知的方法。 www.ibm.com 5. Registering your own MBeans will be described in Part 4 of the article series. 本系列的第4部分将描述如何注册您自己的MBean。 www.ibm.com 6. Listing 1 shows an MBean interface for a network service such as a Web server. 清单1显示了网络服务(例如Web服务器)的MBean接口。 www.ibm.com 7. Can the Master Agent handle a large number of virtual MBeans (5000 or more)? 主代理是否可以处理大量的虚拟MBean(5000个或更多)? www.ibm.com 8. Other MBean types can also be passed to find the relevant MBeans. 我们也可以传递其他MBean类型来查找相关的MBean。 www.ibm.com 9. You can then create an MBean that implements that interface, instantiates it, and registers it with the MBeanServer. 然后可以创建一个MBean来实现此接口、实例化它及把它注册到MBeanServer。 www.ibm.com 10. The following code will return the MBean ObjectName of PerfMBean in a server. 以下的代码将会返回服务器中的PerfMBean的MBeanObjectName。 www.ibm.com 1. When each General Agent has finished creating their MBeans, it waits until all of the proxied MBeans are created. 当每个普通代理完成了其Mbean的创建后,将等待所有经过代理的MBean创建完成。 www.ibm.com 2. Next, the method creates an object for the TaskManagement MBean so that it can retrieve the task action information and accept the task. 下一步,该方法创建TaskManagementMBean的对象,这样它可以检索任务操作信息并接受任务。 www.ibm.com 3. The java. lang. management package introduced in Java SE 5 defines nine MBeans called platform MBeans, or MXBeans (see Resources). JavaSE5中引入的java.lang.management包定义了9个MBean,称为平台MBean或MXBean(请参阅参考资料)。 www.ibm.com 4. A General Agent simulator that can create MBeans that can send events. 一个普通代理模拟器,可创建能发送事件的Mbean。 www.ibm.com 5. This example above shows how to activate an MBean implemented in your J2EE application code. 以上这个示例说明了如何激活在J2EE应用程序代码中实现的MBean。 www.ibm.com 6. In fact, MBeans are managed inside a JMX agent through an MBean server that can load and unload MBeans dynamically. 实际上,在JMX代理内可通过能够动态地装入和卸装MBean的MBean服务器来管理MBean。 www.ibm.com 7. MBean so that it can retrieve the task action information and accept the task. MBean的物件,这样它可以检索任务操作资讯并接受任务。 www-128.ibm.com 8. A second way to load MBeans is to specify them administratively as Extension MBeans (this is the recommended approach). 第二种加载MBean的方法是以管理方式将其指定为扩展Mbean(ExtensionMbean)(此方法是推荐采用的方法)。 www.ibm.com 9. Initial test: 1 General Agent, 1 MBean, 10 events per minute. 初始测试:1个普通代理,1个Mbean,每分钟是10个事件。 www.ibm.com 10. There are two main types of MBeans, detailed in Table 1. MBean有两种主要类型,表1中作了详细说明。 www.ibm.com 1. Under the log4j folder, you should see the root MBean. 在log4j文件夹下,您应该可以看到根MBean。 www.ibm.com 2. Now, check to see what the wsadmin built-in $Help function can tell us about this new MBean. Enter 现在,请查看wsadmin内置$Help函数可以告诉我们有关这个新的MBean的哪些信息。 www.ibm.com 3. 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服务器连接的引用 www.ibm.com 4. To get a specific MBean, add the code in Listing 16 to the bottom of the script 为了获得某个特定MBean,请将清单16中的代码添加到脚本底部 www.ibm.com 5. Click on the new org. hibernate MBean and change the priority attribute to DEBUG, as shown in Figure 8 单击新的org.hibernateMBean并将优先级属性更改为DEBUG,如图9所示 www.ibm.com 6. Each MBean represents a tree node with an object name representation. The JMX Viewer can show 每个MBean使用对象名称表示法来表示一个树节点。 www.ibm.com 7. 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文件,您将看到 www.ibm.com 8. With a "key" naming strategy, you can use a properties map to associate MBean names to 使用“键”命名策略时,可以使用一个属性把MBean名与 www-128.ibm.com 9. Listing 2 shows the interface for an MBean that describes a simple Web container service 清单2显示了描述一个简单Web容器服务的MBean接口 www-128.ibm.com 10. Class to use a simple naming convention for finding related MBean deployment descriptors using the format 类,让它使用一个简单的命名规范,以 www-128.ibm.com 1. To alter an attribute in the running memory of the MBean dynamically 为了动态地更改MBean的运行内存中的属性 www.ibm.com 2. (You can lift this restriction by using a more advanced JMX feature, dynamic MBeans. ) 可以用更高级的JMX特性——动态MBean来去除这个限制。 www.ibm.com 3. File jbm-queue-service. xml contains definitions of MBeans associated with each of the transports (typically queues) used by services 7 jbm-queue-service.xml中定义了服务7所用的每个传输(通常是队列)相关的MBean。 www.infoq.com 4. The TaskManagement MBean can generate the following notifications TaskManagementMBean可以生成下面的通知 www.ibm.com 5. The invokeStop method stops the server by invoking the stop operation on the Server MBean InvokeStop方法通过调用ServerMBean的stop操作来停止服务器。 www.ibm.com 6. Get performance data from a single MBean using PerfMBean 使用PerfMBean从单个MBean获取性能数据 www.ibm.com 7. Through its API, an MBean provides information about the following, all of which Figure 5 illustrates 通过API,MBean提供以下信息,如图5所示 www.ibm.com 8. Figures 2 and 3 show two examples of MBean Descriptor files that will be used by examples in this article 图2和图3显示了本文中的示例将使用的MBean描述符文件的两个示例 www.ibm.com 9. You should see the two attributes for the MBean 您应当看到MBean的两个属性 www.ibm.com 10. Table 1. Initial test environment: 1 GA, 1 MBean, 10 events per minute 表1.初始测试环境:1个普通代理、1个Mbean、每分钟是10个事件。 www.ibm.com |
||||||||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。