Class EurekaRetryRegistrationListener

  • All Implemented Interfaces:
    io.micronaut.context.event.ApplicationEventListener<io.micronaut.runtime.server.event.ServerStartupEvent>, java.util.EventListener

    @Singleton
    @Requires(property="eureka.client.registration.enabled",
              value="true")
    public class EurekaRetryRegistrationListener
    extends java.lang.Object
    implements io.micronaut.context.event.ApplicationEventListener<io.micronaut.runtime.server.event.ServerStartupEvent>
    This event handler is responsible for healing a load-balanced discovery client that uses Eureka for its service registry.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onApplicationEvent​(io.micronaut.runtime.server.event.ServerStartupEvent 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.context.event.ApplicationEventListener

        supports
    • Constructor Detail

      • EurekaRetryRegistrationListener

        public EurekaRetryRegistrationListener()
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(io.micronaut.runtime.server.event.ServerStartupEvent event)
        Specified by:
        onApplicationEvent in interface io.micronaut.context.event.ApplicationEventListener<io.micronaut.runtime.server.event.ServerStartupEvent>