DestinationFactoryManager (Apache CXF API 2.5.0.fuse-70-097 API)

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

## org.apache.cxf.transport
Interface DestinationFactoryManager

    public interface DestinationFactoryManager

The DestinationFactoryManager provides an interface to register and retrieve transport factories.

Method Summary
`void` | `deregisterDestinationFactory(String name)` Unregister a `DestinationFactory`.
`DestinationFactory` | `getDestinationFactory(String name)` Returns the `DestinationFactory` registered with the specified name, loading the appropriate plugin if necessary.
`DestinationFactory` | `getDestinationFactoryForUri(String uri)`
`void` | `registerDestinationFactory(String name, DestinationFactory factory)` Associates a name, often a URI, with a `DestinationFactory` when registering with the `Bus`'s `TransportRegistry`.

Method Detail

### registerDestinationFactory

    void registerDestinationFactory(String name,
                                    DestinationFactory factory)

  Associates a name, often a URI, with a `DestinationFactory` when registering with the `Bus`'s `TransportRegistry`.

  Parameters:
    `name` - A string containing the name used to identify the `DestinationFactory`
    `factory` - The `DestinationFactory` to be registered.

### deregisterDestinationFactory

    void deregisterDestinationFactory(String name)

  Unregister a `DestinationFactory`.

  Parameters:
    `name` - A string containing the name of the `DestinationFactory`.

### getDestinationFactory

    DestinationFactory getDestinationFactory(String name)
                                             throws BusException

  Returns the `DestinationFactory` registered with the specified name, loading the appropriate plugin if necessary.

  Parameters:
    `name` -
  Returns:
    the registered `DestinationFactory`
  Throws:
    `BusException`

### getDestinationFactoryForUri

    DestinationFactory getDestinationFactoryForUri(String uri)

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

Apache CXF