"asoleto" wrote : Do you have any example?
  | 
  | ...snip...
  | 
  | BUT I don't know if there is a "magic tag" in the jboss-service.xml file 
that allows me to deploy a custom Standard MBean without using the xmbean-dd 
tag. By reading your answer, it seems that it is possible.
  | 
  | My concern is to use SAR without using xmbean or JBoss specific classes.  I 
want to use just JSR-3.

Take the JBoss Wiki-provided Hello MBean example *-service.xml descriptor:

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <server>
  |   <mbean code="com.acme.HelloWorldService" 
name="acme.com:service=HelloWorld">
  |     <attribute name="Message">Hello World</attribute>
  |   </mbean>
  | </server>

The format of this file does not use the XMBean stuff, and whether or not the 
MBean is written by extending JBoss classes or not is irrelevant.  So long as 
com.acme.HelloWorldService follows JMX standards, and has a corresponding 
*MBean interface, this will deploy just fine whether in a SAR or deployed via 
an XML file alone.

Have you actually tried any of this?  You questions indicate that you have not.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931657


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to