com.sun.enterprise.web
Class WebConnector

java.lang.Object
  extended by org.apache.catalina.connector.Connector
      extended by com.sun.enterprise.web.connector.coyote.PECoyoteConnector
          extended by com.sun.enterprise.web.WebConnector
All Implemented Interfaces:
javax.management.MBeanRegistration, Connector, Lifecycle

public class WebConnector
extends PECoyoteConnector

A CoyoteConnector subclass which "wraps around" an existing Grizzly SelectorThread that is being started and stopped outside of the lifecycle of this CoyoteConnector subclass (the SelectorThread is started and stopped as part of the GrizzlyAdapter lifecycle). The only purpose of this WebConnector is to start and stop its associated MapperListener, which populates the Catalina Mapper that is used by the CoyoteAdapter which gets registered with the GrizzlyAdapter for web context endpoints.

Author:
jluehe

Field Summary
 
Fields inherited from class com.sun.enterprise.web.connector.coyote.PECoyoteConnector
_logger, _rb, grizzlyMonitor, maxAcceptWorkerThreads, maxReadWorkerThreads, minAcceptQueueLength, minProcessorQueueLength, minProcessorWorkerThreadsIncrement, minReadQueueLength, processorWorkerThreadsTimeout, recycleObjects, ssBackLog, useDirectByteBuffer
 
Fields inherited from class org.apache.catalina.connector.Connector
authPassthroughEnabled, container, domain, initialized, lifecycle, log, mapper, mapperListener, maxParameterCount, minProcessors, mserver, oname, proxyHandler, sm
 
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENT
 
Constructor Summary
WebConnector(WebContainer webContainer)
          Constructor
 
Method Summary
 void initialize()
          Initialize this connector.
 
Methods inherited from class com.sun.enterprise.web.connector.coyote.PECoyoteConnector
configHttpProperties, configure, configureFileCache, configureHttpListenerProperty, configureJKProperties, configureThreadPool, createRequest, createResponse, getCrlFile, getKeepAliveThreadCount, getKeepAliveTimeoutInSeconds, getKeystoreType, getLargeFileCacheEnabled, getMapperListener, getMaxAcceptWorkerThreads, getMaxCacheEntries, getMaxEntrySize, getMaxLargeCacheSize, getMaxReadWorkerThreads, getMaxSmallCacheSize, getMinAcceptQueueLength, getMinEntrySize, getMinProcessorQueueLength, getMinProcessorWorkerThreadsIncrement, getMinReadQueueLength, getProcessorWorkerThreadsTimeout, getQueueSizeInBytes, getRecycleObjects, getSecondsMaxAge, getSelectorReadThreadsCount, getSocketServerBacklog, getTrustAlgorithm, getTrustMaxCertLength, getTruststore, getTruststoreType, getUseDirectByteBuffer, getWebAppRootPath, isChunkingDisabled, isFileCacheEnabled, requestEndEvent, requestStartEvent, setChunkingDisabled, setCrlFile, setFileCacheEnabled, setKeepAliveTimeoutInSeconds, setKeystoreType, setLargeFileCacheEnabled, setMaxAcceptWorkerThreads, setMaxCacheEntries, setMaxEntrySize, setMaxLargeCacheSize, setMaxReadWorkerThreads, setMaxSmallCacheSize, setMinAcceptQueueLength, setMinEntrySize, setMinProcessorQueueLength, setMinReadQueueLength, setProcessorWorkerThreadsTimeout, setProxyHandler, setQueueSizeInBytes, setRecycleObjects, setSecondsMaxAge, setSelectorReadThreadsCount, setSocketServerBacklog, setTrustAlgorithm, setTrustMaxCertLength, setTruststore, setTruststoreType, setUseDirectByteBuffer, setWebAppRootPath, start, stop
 
Methods inherited from class org.apache.catalina.connector.Connector
addLifecycleListener, createObjectName, destroy, findLifecycleListeners, getAcceptCount, getAdapter, getAddress, getAllowTrace, getAuthPassthroughEnabled, getBlocking, getBufferSize, getCertificates, getCiphers, getClientAuth, getCompression, getConnectionLinger, getConnectionTimeout, getConnectionUploadTimeout, getContainer, getController, getDebug, getDefaultHost, getDisableUploadTimeout, getDomain, getEnableLookups, getFactory, getInfo, getInstanceName, getKeepAlive, getKeyAlias, getKeystoreFile, getKeystorePass, getMapper, getMaxHttpHeaderSize, getMaxKeepAliveRequests, getMaxParameterCount, getMaxPostSize, getMaxProcessors, getMinProcessors, getName, getObjectName, getPort, getProperty, getProtocol, getProtocolHandler, getProtocolHandlerClassName, getProxyHandler, getProxyName, getProxyPort, getRedirectPort, getScheme, getSecure, getSelectorThreadImpl, getServerSocketTimeout, getService, getSsl3SessionTimeout, getSslProtocol, getSslProtocols, getSslSessionCacheSize, getSslSessionTimeout, getTcpNoDelay, getTomcatAuthentication, getURIEncoding, init, isAvailable, isEnabled, isXpoweredBy, postDeregister, postRegister, preDeregister, preRegister, removeLifecycleListener, removeProperty, setAcceptCount, setAdapter, setAddress, setAllowTrace, setAuthPassthroughEnabled, setBlocking, setBufferSize, setCiphers, setClientAuth, setCompression, setConnectionLinger, setConnectionTimeout, setConnectionUploadTimeout, setContainer, setController, setDebug, setDefaultHost, setDisableUploadTimeout, setDomain, setEnabled, setEnableLookups, setFactory, setInstanceName, setKeepAlive, setKeyAlias, setKeystoreFile, setKeystorePass, setMapper, setMaxHttpHeaderSize, setMaxKeepAliveRequests, setMaxParameterCount, setMaxPostSize, setMaxProcessors, setMinProcessors, setName, setPort, setProperty, setProtocol, setProtocolHandler, setProtocolHandlerClassName, setProxyHandler, setProxyName, setProxyPort, setRedirectPort, setScheme, setSecure, setSelectorThreadImpl, setServerSocketTimeout, setService, setSsl3SessionTimeout, setSslProtocol, setSslProtocols, setSslSessionCacheSize, setSslSessionTimeout, setTcpNoDelay, setTomcatAuthentication, setURIEncoding, setXpoweredBy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebConnector

public WebConnector(WebContainer webContainer)
Constructor

Method Detail

initialize

public void initialize()
                throws LifecycleException
Description copied from class: PECoyoteConnector
Initialize this connector.

Specified by:
initialize in interface Connector
Overrides:
initialize in class PECoyoteConnector
Throws:
LifecycleException


Copyright © 2012 GlassFish Community. All Rights Reserved.