org.apache.tomcat.util.modeler.Registry.setMBeanServer()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(185)

本文整理了Java中org.apache.tomcat.util.modeler.Registry.setMBeanServer方法的一些代码示例,展示了Registry.setMBeanServer的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Registry.setMBeanServer方法的具体详情如下:
包路径:org.apache.tomcat.util.modeler.Registry
类名称:Registry
方法名:setMBeanServer

Registry.setMBeanServer介绍

[英]Set the MBeanServer to be utilized for our registered management beans.
[中]设置MBeanServer以用于我们注册的管理bean。

代码示例

代码示例来源:origin: jboss.web/jbossweb

/**
 * Set the <code>MBeanServer</code> to be utilized for our
 * registered management beans.
 *
 * @param mbeanServer The new <code>MBeanServer</code> instance
 * @since 1.0
 * @deprecated Use the instance method
 */
public static void setServer(MBeanServer mbeanServer) {
  Registry.getRegistry().setMBeanServer(mbeanServer);
}

代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource

/**
 * Set the <code>MBeanServer</code> to be utilized for our
 * registered management beans.
 *
 * @param mbeanServer The new <code>MBeanServer</code> instance
 * @since 1.0
 * @deprecated Use the instance method
 */
public static void setServer(MBeanServer mbeanServer) {
  Registry.getRegistry().setMBeanServer(mbeanServer);
}

代码示例来源:origin: org.jboss.web/jbossweb

/**
 * Set the <code>MBeanServer</code> to be utilized for our
 * registered management beans.
 *
 * @param mbeanServer The new <code>MBeanServer</code> instance
 * @since 1.0
 * @deprecated Use the instance method
 */
public static void setServer(MBeanServer mbeanServer) {
  Registry.getRegistry().setMBeanServer(mbeanServer);
}

代码示例来源:origin: org.mobicents.servlet.sip.containers/sip-servlets-tomcat-jboss4

Registry.getRegistry().setMBeanServer(server);

代码示例来源:origin: org.jboss.jbossas/jboss-as-tomcat

Registry.getRegistry(null, null).setMBeanServer(server);

相关文章