Class JettySslContextReload

java.lang.Object
io.micronaut.servlet.jetty.JettySslContextReload
All Implemented Interfaces:
io.micronaut.context.event.ApplicationEventListener<io.micronaut.runtime.context.scope.refresh.RefreshEvent>, io.micronaut.core.order.Ordered, io.micronaut.runtime.context.scope.refresh.RefreshEventListener, EventListener

@Singleton public class JettySslContextReload extends Object implements io.micronaut.runtime.context.scope.refresh.RefreshEventListener
Listener implementation which reloads ssl context when ssl properties have been changed.
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE

    Fields inherited from interface io.micronaut.runtime.context.scope.refresh.RefreshEventListener

    DEFAULT_POSITION
  • Constructor Summary

    Constructors
    Constructor
    Description
    JettySslContextReload(JettyFactory jettyFactory, org.eclipse.jetty.server.Server server)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Set<String>
     
    void
    onApplicationEvent(io.micronaut.runtime.context.scope.refresh.RefreshEvent event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.runtime.context.scope.refresh.RefreshEventListener

    getOrder, supports
  • Constructor Details

    • JettySslContextReload

      public JettySslContextReload(JettyFactory jettyFactory, org.eclipse.jetty.server.Server server)
      Constructor.
      Parameters:
      jettyFactory - the jetty factory
      server - the jetty server
  • Method Details

    • getObservedConfigurationPrefixes

      @NonNull public @NonNull Set<String> getObservedConfigurationPrefixes()
      Specified by:
      getObservedConfigurationPrefixes in interface io.micronaut.runtime.context.scope.refresh.RefreshEventListener
    • onApplicationEvent

      public void onApplicationEvent(io.micronaut.runtime.context.scope.refresh.RefreshEvent event)
      Specified by:
      onApplicationEvent in interface io.micronaut.context.event.ApplicationEventListener<io.micronaut.runtime.context.scope.refresh.RefreshEvent>