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

## org.apache.cxf
Interface BusFactory

    public interface BusFactory

Field Summary
`static java.lang.String` | `BUS_FACTORY_PROPERTY_NAME`
`static java.lang.String` | `DEFAULT_BUS_FACTORY`

Method Summary
`Bus` | `createBus()` Creates a new bus.
`Bus` | `getDefaultBus()` Returns the default bus, creating it if necessary.
`void` | `setDefaultBus(Bus bus)` Sets the default bus.

Field Detail

### BUS_FACTORY_PROPERTY_NAME

    static final java.lang.String BUS_FACTORY_PROPERTY_NAME

See Also:
  Constant Field Values

### DEFAULT_BUS_FACTORY

    static final java.lang.String DEFAULT_BUS_FACTORY

See Also:
  Constant Field Values

Method Detail

### createBus

    Bus createBus()

  Creates a new bus. While concrete `BusFactory` may offer differently parametrized methods for creating a bus, all factories support this no-arg factory method.

  Returns:
    the newly created bus.

### getDefaultBus

    Bus getDefaultBus()

  Returns the default bus, creating it if necessary.

  Returns:
    the default bus.

### setDefaultBus

    void setDefaultBus(Bus bus)

  Sets the default bus.

  Parameters:
    `bus` - the default bus.

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

-