集册 Java实例教程 返回与给定方法对象相对应的MBean属性的名称

返回与给定方法对象相对应的MBean属性的名称

欢马劈雪     最近更新时间:2020-01-02 10:19:05

402
返回与给定方法对象相对应的MBean属性的名称-从方法名称中截取给定前缀并返回结果。

/**

 * A utility class that performs various operations using the Java reflection

 * API.

 * 

 * @author Yanick Duchesne

 *         <dl>

 *         <dt><b>Copyright: </b>

 *         <dd>Copyright &#169; 2002-2003 <a

 *         href="http://www.sapia-oss.org">Sapia Open Source Software </a>. All

 *         Rights Reserved.</dd>

 *         </dt>

 *         <dt><b>License: </b>

 *         <dd>Read the license.txt file of the jar or visit the <a

 *         href="http://www.sapia-oss.org/license.html">license page </a> at the

 *         Sapia OSS web site</dd>

 *         </dt>

 *         </dl>

 */

//package com.nowjava;

import java.lang.reflect.Method;

/**
NowJava.com - 时代Java 提供 
**/

public class Main {

    
展开阅读全文