[jboss-user] [Management, JMX/JBoss] - Parsing a deployment descriptor

sergeypk do-not-reply at jboss.com
Wed Jun 6 10:06:57 EDT 2007


Is there a class I could use to parse a deployment descriptor such as the  one below? I need to get the attribute values programmatically (for testing purposes).

Thanks,
Sergey

<server>
  | 
  |    <!-- Standard bisocket connector - the bisocket transport only opens connection from client->server
  |         so can be used with firewalls where only outgoing connections are allowed.
  |         For examples of HTTP and SSL transports see docs/examples -->
  |    <mbean code="org.jboss.remoting.transport.Connector"
  |           name="jboss.messaging:service=Connector,transport=bisocket"
  |           display-name="Bisocket transport Connector">
  |       <attribute name="Configuration">
  |          <config>
  |             <invoker transport="bisocket">
  |                <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  |                ...
  |             </invoker>
  |          </config>
  |       </attribute>
  |    </mbean>
  | </server>
  | 

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

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



More information about the jboss-user mailing list