<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd">

<mbean>
  <description>An MBean wrapper around a ServerInvoker.</description>
  <descriptors>
    <persistence/>
  </descriptors>
  <class>org.jboss.remoting.transport.Connector</class>

  <!--attributes-->
  <attribute access="read-only" getMethod="getLocator">

    <description>Locator is the actual InvokerLocator object used to identify and get the ServerInvoker we are wrapping.</description>
    <name>Locator</name>
    <type>org.jboss.remoting.InvokerLocator</type>
    <descriptors>
      <persistence/>

    </descriptors>
  </attribute>
  <attribute access="read-write" getMethod="getInvokerLocator" setMethod="setInvokerLocator">

    <description>(no description)</description>
    <name>InvokerLocator</name>
    <type>java.lang.String</type>
    <descriptors>
      <persistence/>

    </descriptors>
  </attribute>
  <attribute access="read-write" getMethod="getConfiguration" setMethod="setConfiguration">

    <description>(no description)</description>
    <name>Configuration</name>
    <type>org.w3c.dom.Element</type>
    <descriptors>
      <persistence/>

    </descriptors>
  </attribute>

<!--artificial attributes-->

<!--operations -->
  <operation impact="ACTION">
    <description>Start sets up the ServerInvoker we are wrapping.</description>
    <name>start</name>
    <return-type>void</return-type>
    <descriptors>
    </descriptors>
  </operation>
  <operation impact="ACTION">
    <description>Start sets up the ServerInvoker we are wrapping.</description>
    <name>start</name>
     <parameter>
       <description>If should start on a new thread or the current calling one.</description>
       <name>runAsNewThread</name>
       <type>boolean</type>
     </parameter>
    <return-type>void</return-type>
    <descriptors>
    </descriptors>
  </operation>
  <operation impact="ACTION">
    <description>Stop tears down the ServerInvoker we are wrapping.</description>
    <name>stop</name>
    <return-type>void</return-type>
    <descriptors>
    </descriptors>
  </operation>
  <operation impact="ACTION_INFO">
    <description>(no description)</description>
    <name>create</name>
    <return-type>void</return-type>
    <descriptors>
    </descriptors>
  </operation>
  <operation impact="ACTION_INFO">
    <description>(no description)</description>
    <name>destroy</name>
    <return-type>void</return-type>
    <descriptors>
    </descriptors>
  </operation>
  <operation impact="ACTION">
    <description>Add a subsystem invocation handler to the ServerInvoker we wrap, identified by the subsystem parameter.</description>
    <name>addInvocationHandler</name>
    <parameter>
      <description>The subsystem this handler is for.</description>
      <name>subsystem</name>
      <type>java.lang.String</type>
    </parameter>
    <parameter>
      <description>The ServerInvocationHandler MBean we are registering for the subsystem</description>
      <name>handlerObjectName</name>
      <type>javax.management.ObjectName</type>
    </parameter>
    <return-type>org.jboss.remoting.ServerInvocationHandler</return-type>
    <descriptors>
    </descriptors>
  </operation>
  <operation impact="ACTION">
    <description>Add a subsystem invocation handler to the ServerInvoker we wrap, identified by the subsystem parameter.</description>
    <name>addInvocationHandler</name>
    <parameter>
      <description>The subsystem this handler is for.</description>
      <name>subsystem</name>
      <type>java.lang.String</type>
    </parameter>
    <parameter>
      <description>The ServerInvocationHandler we are registering for the subsystem</description>
      <name>handler</name>
      <type>org.jboss.remoting.ServerInvocationHandler</type>
    </parameter>
    <return-type>org.jboss.remoting.ServerInvocationHandler</return-type>
    <descriptors>
    </descriptors>
  </operation>
  <operation impact="ACTION">
    <description>Remove a subsystem invocation handler to the ServerInvoker we wrap, identified by the subsystem parameter.</description>
    <name>removeInvocationHandler</name>
    <parameter>
      <description>The subsystem this handler is for.</description>
      <name>subsystem</name>
      <type>java.lang.String</type>
    </parameter>
    <return-type>void</return-type>
    <descriptors>
    </descriptors>
  </operation>

<!--artificial operations-->

<!--notifications -->

</mbean>
