|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.webdav.AbstractConnector
Base implementation for the Connector contracts.
| Field Summary | |
protected org.apache.commons.logging.Log |
log
|
protected int |
maxCon
Maximum number of connections. |
protected int |
maxIdle
Maximum idle time. |
protected int |
port
Port. |
protected String |
protocol
Protocol. |
| Constructor Summary | |
AbstractConnector(String aProtocol,
String anHost,
int aPort,
int aMaxCon,
int aMaxIdle)
Creates a connector having the specified specificities. |
|
| Method Summary | |
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
String |
getInterface()
Gets the interface/host of this Connector. |
int |
getMaxConnections()
Gets the maximum number of connections. |
int |
getMaxIdleTime()
Sets the maximum idle time. |
int |
getPort()
Gets listening port number. |
String |
getProtocol()
Gets the protocol name. |
void |
setInterface(String anInterface)
Sets the network interface name. |
void |
setMaxConnections(int aMaxConnects)
Sets the maximum number of connections. |
void |
setMaxIdleTime(int aMaxIdleTime)
Gets the maximum idle time. |
void |
setPort(int aPort)
Sets listening port number. |
void |
setProtocol(String aProtocol)
Sets the protocol name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.geronimo.gbean.GBeanLifecycle |
doFail, doStart, doStop |
| Field Detail |
protected final org.apache.commons.logging.Log log
protected int port
protected String protocol
protected int maxCon
protected int maxIdle
| Constructor Detail |
public AbstractConnector(String aProtocol,
String anHost,
int aPort,
int aMaxCon,
int aMaxIdle)
aProtocol - Protocol.anHost - Host.aPort - Port.aMaxCon - Maximum number of connections.aMaxIdle - Maximum idle time.| Method Detail |
public void setPort(int aPort)
Connector
setPort in interface Connectorpublic int getPort()
Connector
getPort in interface Connectorpublic void setProtocol(String aProtocol)
Connector
setProtocol in interface Connectorpublic String getProtocol()
Connector
getProtocol in interface Connectorpublic void setInterface(String anInterface)
Connector
setInterface in interface Connectorpublic String getInterface()
getInterface in interface Connectorpublic void setMaxConnections(int aMaxConnects)
Connector
setMaxConnections in interface Connectorpublic int getMaxConnections()
Connector
getMaxConnections in interface Connectorpublic void setMaxIdleTime(int aMaxIdleTime)
Connector
setMaxIdleTime in interface Connectorpublic int getMaxIdleTime()
Connector
getMaxIdleTime in interface Connectorpublic static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||