org.apache.cxf.endpoint

## Class ServerImpl

- java.lang.Object
- - org.apache.cxf.endpoint.ServerImpl

- All Implemented Interfaces:
    Server

      public class ServerImpl
      extends Object
      implements Server

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerImpl(Bus bus, Endpoint endpoint, DestinationFactory destinationFactory, BindingFactory bindingFactory)`
    `ServerImpl(Bus bus, Endpoint endpoint, DestinationFactory destinationFactory, MessageObserver observer)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroy()`
    `Destination` | `getDestination()`
    `Endpoint` | `getEndpoint()`
    `MessageObserver` | `getMessageObserver()`
    `boolean` | `isStarted()`
    `boolean` | `isStopped()`
    `void` | `setDestination(Destination destination)`
    `void` | `setMessageObserver(MessageObserver messageObserver)`
    `void` | `start()`
    `void` | `stop()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ServerImpl

          public ServerImpl(Bus bus,
                    Endpoint endpoint,
                    DestinationFactory destinationFactory,
                    MessageObserver observer)
                     throws BusException,
                            IOException

      Throws:
        `BusException`
        `IOException`

    - #### ServerImpl

          public ServerImpl(Bus bus,
                    Endpoint endpoint,
                    DestinationFactory destinationFactory,
                    BindingFactory bindingFactory)
                     throws BusException,
                            IOException

      Throws:
        `BusException`
        `IOException`

  - ### Method Detail

    - #### getDestination

          public Destination getDestination()

      Specified by:
        `getDestination` in interface `Server`

    - #### setDestination

          public void setDestination(Destination destination)

    - #### start

          public void start()

      Specified by:
        `start` in interface `Server`

    - #### isStopped

          public boolean isStopped()

    - #### isStarted

          public boolean isStarted()

      Specified by:
        `isStarted` in interface `Server`

    - #### stop

          public void stop()

      Specified by:
        `stop` in interface `Server`

    - #### destroy

          public void destroy()

      Specified by:
        `destroy` in interface `Server`

    - #### getEndpoint

          public Endpoint getEndpoint()

      Specified by:
        `getEndpoint` in interface `Server`

    - #### getMessageObserver

          public MessageObserver getMessageObserver()

    - #### setMessageObserver

          public void setMessageObserver(MessageObserver messageObserver)

Apache CXF