Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.remoting.transport
Interface ConnectorMBean

All Known Implementing Classes:
  Connector

public interface ConnectorMBean

MBean interface.

Method Summary
`void` | `addInvocationHandler(String subsystem, ServerInvocationHandler handler)` Adds an invocation handler for the named subsystem to the invoker we manage, and sets the mbean server on the invocation handler.
`void` | `create()` Creates the connector.
`void` | `destroy()` Destroys the connector.
`Element` | `getConfiguration()` Configuration is an xml element indicating subsystems to be registered with the ServerInvoker we wrap.
`String` | `getInvokerLocator()` Returns the invoker locator.
`InvokerLocator` | `getLocator()` Returns the locator to the connector.
`void` | `removeInvocationHandler(String subsystem)` Removes an invocation handler for the supplied subsystem from the invoker we manage, and unsets the MBeanServer on the handler.
`void` | `setConfiguration(Element xml)` Configuration is an xml element indicating subsystems to be registered with the ServerInvoker we wrap.
`void` | `setInvokerLocator(String locator)` Sets the invoker locator.
`void` | `start()` Starts the connector.
`void` | `stop()` Stops the connector.

Method Detail

### start

    public void start()
               throws Exception

  Starts the connector.

  Throws:
    `Exception`

### stop

    public void stop()

  Stops the connector.

### create

    public void create()
                throws Exception

  Creates the connector.

  Throws:
    `Exception`

### destroy

    public void destroy()

  Destroys the connector.

### getLocator

    public InvokerLocator getLocator()

  Returns the locator to the connector. Locator is the actual InvokerLocator object used to identify and get the ServerInvoker we are wrapping.

### setInvokerLocator

    public void setInvokerLocator(String locator)
                           throws Exception

  Sets the invoker locator. InvokerLocator is the string URI representation of the InvokerLocator used to get and identify the ServerInvoker we are wrapping.

  Throws:
    `Exception`

### getInvokerLocator

    public String getInvokerLocator()
                             throws Exception

  Returns the invoker locator. InvokerLocator is the string URI representation of the InvokerLocator used to get and identify the ServerInvoker we are wrapping.

  Throws:
    `Exception`

### setConfiguration

    public void setConfiguration(Element xml)
                          throws Exception

  Configuration is an xml element indicating subsystems to be registered with the ServerInvoker we wrap. Using mbean subsystems that call registerSubsystem is more flexible.

  Throws:
    `Exception`

### getConfiguration

    public Element getConfiguration()

  Configuration is an xml element indicating subsystems to be registered with the ServerInvoker we wrap. Using mbean subsystems that call registerSubsystem is more flexible.

### addInvocationHandler

    public void addInvocationHandler(String subsystem,
                                     ServerInvocationHandler handler)
                              throws Exception

  Adds an invocation handler for the named subsystem to the invoker we manage, and sets the mbean server on the invocation handler.

  Throws:
    `Exception`

### removeInvocationHandler

    public void removeInvocationHandler(String subsystem)
                                 throws Exception

  Removes an invocation handler for the supplied subsystem from the invoker we manage, and unsets the MBeanServer on the handler.

  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.