What is the meaning of the "xmbean-dd" attribute in mbean in jboss-service.xml?

For example,

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

      

+1


source to share


1 answer


The optional xmbean-dd attribute specifies the path to the XMBean resource if this MBean service uses the JBoss XMBean descriptor to define the Model MBean management interface

according to MBEan SARDeployer section 3.4.2.1 in the documentation.



This basically means that for StandardMBeans, which usually do not have a description of arguments or operations, you can provide them in an XML file. The prefix resource:

indicates a directory $SERVER/conf

. Take a look at resource:xmdesc/

for examples of MBeans handles resource:jboss-service.xml

.

+1


source







All Articles