public class Connectors extends Object
| Constructor and Description |
|---|
Connectors()
Default constructor.
|
Connectors(int port,
int maxIdleTime)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Connector connector)
Adds a connector to the list of connectors to deploy.
|
List<Connector> |
getConnectors()
Returns the list of known connectors to deploy.
|
List<Connector> |
getDefaultConnectors()
Gets the default list of connectors to deploy when no connectors
were explicitly added to the list.
|
public Connectors()
public Connectors(int port,
int maxIdleTime)
port - The port that the default connector will listen onmaxIdleTime - The maximum idle time for the default connectorpublic void add(Connector connector)
connector - A connector to add to the listpublic List<Connector> getConnectors()
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.