Class CompatibleSslContext

java.lang.Object
org.apache.activemq.broker.SslContext
org.apache.activemq.broker.CompatibleSslContext

public class CompatibleSslContext extends SslContext
An SslContext that is API-compatible with ThreadLocalSslContext but carries no ThreadLocal state.

This class exposes the same protected fields, list-based getters/setters, and mutator methods that ThreadLocalSslContext does, so subclasses (such as SpringSslContext) can be reparented onto this class without any source or binary breakage.

The SSLContext is lazily created on first call to getSSLContext() and can be replaced directly via setSSLContext(SSLContext).