public abstract class AbstractSSLSocketAppender<E> extends AbstractSocketAppender<E> implements SSLComponent
SSLSocketAppender
implementations located in other logback modules.DEFAULT_PORT, DEFAULT_QUEUE_SIZE, DEFAULT_RECONNECTION_DELAY
name, started
context
Modifier | Constructor and Description |
---|---|
protected |
AbstractSSLSocketAppender()
Constructs a new appender.
|
Modifier and Type | Method and Description |
---|---|
protected SocketFactory |
getSocketFactory()
Gets an
SocketFactory that produces SSL sockets using an
SSLContext that is derived from the appender's configuration. |
SSLConfiguration |
getSsl()
Gets the SSL configuration.
|
void |
setSsl(SSLConfiguration ssl)
Sets the SSL configuration.
|
void |
start() |
append, connectionFailed, getEventDelayLimit, getPort, getPST, getQueueSize, getReconnectionDelay, getRemoteHost, newConnector, postProcessEvent, setEventDelayLimit, setPort, setQueueSize, setReconnectionDelay, setRemoteHost, stop
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
protected AbstractSSLSocketAppender()
protected SocketFactory getSocketFactory()
SocketFactory
that produces SSL sockets using an
SSLContext
that is derived from the appender's configuration.getSocketFactory
in class AbstractSocketAppender<E>
public void start()
start
in interface LifeCycle
start
in class AbstractSocketAppender<E>
public SSLConfiguration getSsl()
getSsl
in interface SSLComponent
public void setSsl(SSLConfiguration ssl)
setSsl
in interface SSLComponent
ssl
- the SSL configuration to setCopyright © 2005–2021 QOS.ch. All rights reserved.