protected AbstractLifeCycle . AbstractLifeCycleListener logSslInfoOnStart ( final SslContextFactory sslContextFactory ) { return new AbstractLifeCycle . AbstractLifeCycleListener ( ) { @ Override public void lifeCycleStarted ( LifeCycle event ) { logSupportedParameters ( sslContextFactory ) ; } } ; }
Register a listener that waits until the ssl context factory has started . Once it has started we can grab the fully initialized context so we can log the parameters .