0 Replies Latest reply on Jun 6, 2007 10:06 AM by Sergey Koshcheyev

    Parsing a deployment descriptor

    Sergey Koshcheyev Newbie

      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>