-
1. Re: jboss.ejb:service=EJBDeployer
vk101 Oct 7, 2006 2:05 AM (in response to vk101)For my second question I mean:
How can you find the XML file from the MBean description? (Because I know the XML file has the MBean name) -
2. Re: jboss.ejb:service=EJBDeployer
peterj Oct 7, 2006 5:10 PM (in response to vk101)Look at mbean jboss.system:service=MainDeployer. It has a listDeployed method. In jmx-console, if you click Invoke on that method you get back a lot of information. Of each comma-separated entry, the 'watch' attribute indentifies the file, and the 'mbeans' attribute lists the mbeans (if any).
-
3. Re: jboss.ejb:service=EJBDeployer
vk101 Oct 7, 2006 10:01 PM (in response to vk101)Thanks for pointing me to that MBean.
I have a general question about the MBeans that come standard with JBoss: How is one to know which MBean does what? Is there some kind of documentation that says what the important MBeans are and what their operations do (such as MainDeployer that you pointed me to)?
Or are we just supposed to figure them out one by one as the need arises?
I would imagine (and hope) that there's documentation around this somewhere...am I right or wrong on this?
Thanks. -
4. Re: jboss.ejb:service=EJBDeployer
pilhuhn Oct 8, 2006 1:25 AM (in response to vk101)Deployers are there to deploy specific kinds of services, not necessarily related to MBeans.
Most of them are surely documented at the JBoss documentation page at http://labs.jboss.com/portal/jbossas/docs.
XMBeans are a special JBossian implementation of Dynamic MBeans.
XMBeans always have a special XMBean-Descriptor, which can be inline in the MBean desciptor or in a separate file.
Example:<mbean code="org.jboss.logging.Log4jService" name="jboss.system:type=Log4jService,service=Logging" xmbean-dd="resource:xmdesc/Log4jService-xmbean.xml">
With the additional attribute of xmbean-dd being present denominates the MBean as XMBean. As its value is not empty, the Descriptor is in the URL pointed to by the value. If it were empty, the XMBean-DD would be inline.
--
Heiko W. Rupp <hrupp@jboss.com>