jmxsupport.java
来自「提供ESB 应用mule源代码 提供ESB 应用mule源代码」· Java 代码 · 共 52 行
JAVA
52 行
/* * $Id: JmxSupport.java 11249 2008-03-07 14:59:58Z tcarlson $ * -------------------------------------------------------------------------------------- * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. */package org.mule.module.management.support;import org.mule.api.MuleContext;import javax.management.MalformedObjectNameException;import javax.management.ObjectName;/** * Mule JMX supporting interface. */public interface JmxSupport{ /** Default Mule domain prefix for all instances. */ String DEFAULT_JMX_DOMAIN_PREFIX = "Mule"; /** * Uses JMX 1.2 and higher standard escape method and semantics. * @param name value to escape for JMX compliance * @return value valid for JMX */ String escape(String name); /** * Calculates the domain name for the current Mule instance. The rules are: * <ul> * <li>Default Mule domain * <li>If this server's instance ID is available, append "." (dot) and the ID * <li>If no instance ID is available, don't append anything * </ul> * @return JMX domain name */ String getDomainName(MuleContext context); /** * Create an object name. May cache the result. * @param name jmx object name * @return object name for MBeanServer consumption * @throws MalformedObjectNameException for invalid names */ ObjectName getObjectName(String name) throws MalformedObjectNameException;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?