java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<E>
ch.qos.logback.core.net.AbstractSocketAppender<E>
ch.qos.logback.core.net.AbstractSSLSocketAppender<E>
- All Implemented Interfaces:
- Appender<E>,- SocketConnector.ExceptionHandler,- SSLComponent,- ContextAware,- FilterAttachable<E>,- LifeCycle
- Direct Known Subclasses:
- SSLSocketAppender
public abstract class AbstractSSLSocketAppender<E>
extends AbstractSocketAppender<E>
implements SSLComponent
An abstract base for module specific 
SSLSocketAppender
 implementations located in other logback modules.- Author:
- Carl Harris
- 
Field SummaryFields inherited from class ch.qos.logback.core.net.AbstractSocketAppenderDEFAULT_PORT, DEFAULT_QUEUE_SIZE, DEFAULT_RECONNECTION_DELAYFields inherited from class ch.qos.logback.core.AppenderBasename, startedFields inherited from class ch.qos.logback.core.spi.ContextAwareBasecontext
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected SocketFactoryGets anSocketFactorythat produces SSL sockets using anSSLContextthat is derived from the appender's configuration.getSsl()Gets the SSL configuration.voidsetSsl(SSLConfiguration ssl) Sets the SSL configuration.voidstart()Methods inherited from class ch.qos.logback.core.net.AbstractSocketAppenderappend, connectionFailed, getEventDelayLimit, getPort, getPST, getQueueSize, getReconnectionDelay, getRemoteHost, newConnector, postProcessEvent, setEventDelayLimit, setPort, setQueueSize, setReconnectionDelay, setRemoteHost, stopMethods inherited from class ch.qos.logback.core.AppenderBaseaddFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringMethods inherited from class ch.qos.logback.core.spi.ContextAwareBaseaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAwareaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
- 
Constructor Details- 
AbstractSSLSocketAppenderprotected AbstractSSLSocketAppender()Constructs a new appender.
 
- 
- 
Method Details- 
getSocketFactoryGets anSocketFactorythat produces SSL sockets using anSSLContextthat is derived from the appender's configuration.- Overrides:
- getSocketFactoryin class- AbstractSocketAppender<E>
- Returns:
- socket factory
 
- 
start
- 
getSslGets the SSL configuration.- Specified by:
- getSslin interface- SSLComponent
- Returns:
- SSL configuration; if no configuration has been set, a default configuration is returned
 
- 
setSslSets the SSL configuration.- Specified by:
- setSslin interface- SSLComponent
- Parameters:
- ssl- the SSL configuration to set
 
 
-