public abstract class AbstractProtocolAsyncServer extends AbstractConfigurableAsyncServer
ProtocolHandlerLoader for loading the ProtocolHandlerconnectionLimit, connPerIP, DEFAULT_BACKLOG, DEFAULT_MAX_EXECUTOR_COUNT, DEFAULT_TIMEOUT, HELLO_NAME, jmxName| Constructor and Description |
|---|
AbstractProtocolAsyncServer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doConfigure(org.apache.commons.configuration.HierarchicalConfiguration config) |
protected abstract Class<? extends HandlersPackage> |
getCoreHandlersPackage()
Return the
HandlersPackage which is responsible to load the core ProtocolHandler |
protected abstract Class<? extends HandlersPackage> |
getJMXHandlersPackage()
Return the
HandlersPackage which is responsible to load the jmx ProtocolHandler |
protected org.apache.james.protocols.api.handler.ProtocolHandlerChain |
getProtocolHandlerChain()
Return the
ProtocolHandlerChain which contains all loaded handlers |
protected void |
postDestroy() |
protected void |
preInit()
This method is called on init of the Server.
|
void |
setProtocolHandlerLoader(ProtocolHandlerLoader loader) |
configure, configureBootstrap, configureHelloName, createBossExecutor, createCoreHandler, createExecutionHander, createPipelineFactory, createWorkerExecutor, destroy, getBoundAddresses, getConnectionCountHandler, getCurrentConnections, getDefaultJMXName, getDefaultPort, getEnabledCipherSuites, getEncryption, getExecutionHandler, getFileSystem, getHandledConnections, getHelloName, getLogger, getMaximumConcurrentConnections, getSocketType, getStartTLSSupported, getThreadPoolJMXPath, init, isEnabled, isStarted, registerMBean, setFileSystem, setLog, start, stop, unregisterMBeanbind, createSocketChannelFactory, getBacklog, getIoWorkerCount, getListenAddresses, getTimeout, isBound, setBacklog, setIoWorkerCount, setListenAddresses, setTimeout, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceType, getTimeoutpublic void setProtocolHandlerLoader(ProtocolHandlerLoader loader)
protected void preInit()
throws Exception
AbstractConfigurableAsyncServerpreInit in class AbstractConfigurableAsyncServerExceptionprotected void doConfigure(org.apache.commons.configuration.HierarchicalConfiguration config)
throws org.apache.commons.configuration.ConfigurationException
doConfigure in class AbstractConfigurableAsyncServerorg.apache.commons.configuration.ConfigurationExceptionprotected void postDestroy()
postDestroy in class AbstractConfigurableAsyncServerprotected org.apache.james.protocols.api.handler.ProtocolHandlerChain getProtocolHandlerChain()
ProtocolHandlerChain which contains all loaded handlersprotected abstract Class<? extends HandlersPackage> getCoreHandlersPackage()
HandlersPackage which is responsible to load the core ProtocolHandlerprotected abstract Class<? extends HandlersPackage> getJMXHandlersPackage()
HandlersPackage which is responsible to load the jmx ProtocolHandlerCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.