Package io.micronaut.servlet.jetty
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
ConstructorsConstructorDescriptionJettySslContextReload
(JettyFactory jettyFactory, org.eclipse.jetty.server.Server server) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Constructor.- Parameters:
jettyFactory
- the jetty factoryserver
- the jetty server
-
-
Method Details
-
getObservedConfigurationPrefixes
- Specified by:
getObservedConfigurationPrefixes
in interfaceio.micronaut.runtime.context.scope.refresh.RefreshEventListener
-
onApplicationEvent
public void onApplicationEvent(io.micronaut.runtime.context.scope.refresh.RefreshEvent event) - Specified by:
onApplicationEvent
in interfaceio.micronaut.context.event.ApplicationEventListener<io.micronaut.runtime.context.scope.refresh.RefreshEvent>
-