Apache CXF API

org.apache.cxf.endpoint
Class ServerImpl

java.lang.Object
  extended by org.apache.cxf.endpoint.ServerImpl
All Implemented Interfaces:
Server

public class ServerImpl
extends Object
implements Server


Field Summary
protected  BindingFactory bindingFactory
           
protected  Bus bus
           
protected  Endpoint endpoint
           
 
Constructor Summary
ServerImpl(Bus bus, Endpoint endpoint, DestinationFactory destinationFactory, BindingFactory bindingFactory)
           
 
Method Summary
protected  ManagedEndpoint createManagedEndpoint()
           
 void destroy()
           
 Destination getDestination()
           
 Endpoint getEndpoint()
           
 boolean isStarted()
           
 boolean isStopped()
           
 void setDestination(Destination destination)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endpoint

protected final Endpoint endpoint

bus

protected final Bus bus

bindingFactory

protected final BindingFactory bindingFactory
Constructor Detail

ServerImpl

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

createManagedEndpoint

protected ManagedEndpoint createManagedEndpoint()

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

Apache CXF API

Apache CXF