【问题标题】:What is the meaning of the "xmbean-dd" attribute in an mbean in jboss-service.xml?jboss-service.xml 中的 mbean 中的“xmbean-dd”属性是什么意思?
【发布时间】:2009-01-07 15:51:23
【问题描述】:

例如,

   <mbean code="org.jnp.server.NamingBeanImpl" 
          name="jboss:service=NamingBeanImpl" 
          xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml">
   </mbean>

【问题讨论】:

    标签: jboss jmx


    【解决方案1】:

    如果此 MBean 服务使用 JBoss XMBean 描述符定义模型 MBean 管理接口,可选的 xmbean-dd 属性指定 XMBean 资源的路径

    根据文档中的3.4.2.1 The SARDeployer MBean 部分。

    基本上,这意味着对于通常没有参数或操作描述的 StandardMBean,您可以在 XML 文件中提供它们。 resource: 前缀指向$SERVER/conf 目录。查看resource:xmdesc/ 以获取resource:jboss-service.xml 中MBean 的描述符示例。

    【讨论】:

      猜你喜欢
      • 2019-09-13
      • 2011-05-16
      • 2013-06-13
      • 2016-01-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-06-12
      • 1970-01-01
      相关资源
      最近更新 更多