Hi Dimitris

Here is the rest of my config - I only showed the notifications.
I am using XMBeans because it seemed to be the most convenient way of adding 
method/parameter names and descriptions in the JMX console. I tried normal 
MBeans, dynamic and model mbeans as well. I like XMBeans the best. Should I not 
use them?
<?xml version='1.0' encoding='UTF-8' ?>
  | <!DOCTYPE server PUBLIC "-//JBoss//DTD MBean Service 4.2//EN" 
"http://www.jboss.org/j2ee/dtd/jboss-service_4_2.dtd";>
  | 
  | <server>
  |     <mbean code="za.co.fnb.bflo.eventlistener.FileEventListenerService" 
name="FNB.Commercial.BFLo:service=FileEventListenerService" 
xmbean-dd="META-INF/FileEventListenerService.xml">
  |         <depends>jboss.ejb3:service=EJB3Deployer</depends>
  |         <attribute 
name="ConfigurationFilename">FileEventListenerService.xml</attribute>
  |     </mbean>
  |     <mbean code="za.co.fnb.bflo.dispatcher.JMSEventDispatcherService" 
name="FNB.Commercial.BFLo:service=JMSEventDispatcherService" 
xmbean-dd="META-INF/JMSEventDispatcherService.xml">
  |         <depends>jboss.ejb3:service=EJB3Deployer</depends>
  |         
<depends>FNB.Commercial.BFLo:service=FileEventListenerService</depends>
  |         <attribute 
name="ConfigurationFilename">JMSEventDispatcherService.xml</attribute>
  |         <attribute name="SubscriptionList">      
  |             <subscription-list>
  |                 <mbean 
name="FNB.Commercial.BFLo:service=FileEventListenerService"/>
  |             </subscription-list>
  |         </attribute>
  |     </mbean>
  | </server>
  | 
  | and
  | 
  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.2//EN" 
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd";>
  | 
  | <mbean>
  |     <description>File listener event service</description>
  |     <class>za.co.fnb.bflo.dispatcher.JMSEventDispatcherService</class>
  |     
  |     <constructor>
  |         <description>Default constructor</description>
  |         <name>JMSEventDispatcherService</name>
  |     </constructor>
  |     
  |     <attribute access='read-write' getMethod='getConfigurationFilename' 
setMethod='setConfigurationFilename'>
  |         <description>MBean Attribute.</description>
  |         <name>ConfigurationFilename</name>
  |         <type>java.lang.String</type>
  |     </attribute>
  |     
  |     <operation>
  |         <name>start</name>
  |     </operation>
  |     
  |     <operation>
  |         <name>stop</name>
  |     </operation>
  |     
  | </mbean>

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103021#4103021

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103021
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to