Apache CXF API

org.apache.cxf.transport.http_jetty
Interface JettyConnectorFactory

All Known Implementing Classes:
JettySslConnectorFactory

public interface JettyConnectorFactory

Encapsulates creation of Jetty listener.


Method Summary
 org.eclipse.jetty.server.AbstractConnector createConnector(int port)
          Create a Listener.
 org.eclipse.jetty.server.AbstractConnector createConnector(String host, int port)
          Create a Listener.
 

Method Detail

createConnector

org.eclipse.jetty.server.AbstractConnector createConnector(int port)
Create a Listener.

Parameters:
port - the listen port

createConnector

org.eclipse.jetty.server.AbstractConnector createConnector(String host,
                                                           int port)
Create a Listener.

Parameters:
host - the host to bind to. IP address or hostname is allowed. null to bind to all hosts.
port - the listen port

Apache CXF API

Apache CXF