@ManagedObject public abstract class AbstractConnectionFactory extends ContainerLifeCycle implements ConnectionFactory
Provides the common handling for ConnectionFactory implementations including:
Connection.addListener(Connection.Listener) for all
Connection.Listener instances found as beans on the Connector
and this ConnectionFactoryAbstractLifeCycle.AbstractLifeCycleListenerConnectionFactory.Detecting, ConnectionFactory.UpgradingContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Modifier and Type | Method and Description |
|---|---|
static ConnectionFactory[] |
getFactories(SslContextFactory sslContextFactory,
ConnectionFactory... factories) |
int |
getInputBufferSize() |
String |
getProtocol() |
List<String> |
getProtocols() |
void |
setInputBufferSize(int size) |
String |
toString() |
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopequals, getClass, hashCode, notify, notifyAll, wait, wait, waitnewConnectiondumpContainer, dumpIterable, dumpMapEntries, dumpObjects, dumpSelf, named@ManagedAttribute(value="The protocol name", readonly=true) public String getProtocol()
getProtocol in interface ConnectionFactorypublic List<String> getProtocols()
getProtocols in interface ConnectionFactory@ManagedAttribute(value="The buffer size used to read from the network") public int getInputBufferSize()
public void setInputBufferSize(int size)
public String toString()
toString in class AbstractLifeCyclepublic static ConnectionFactory[] getFactories(SslContextFactory sslContextFactory, ConnectionFactory... factories)
Copyright © 2010 - 2020 Adobe. All Rights Reserved