Class AutoRegistration

java.lang.Object
io.micronaut.discovery.registration.AutoRegistration
All Implemented Interfaces:
ApplicationEventListener<AbstractServiceInstanceEvent>, EventListener

public abstract class AutoRegistration extends Object implements ApplicationEventListener<AbstractServiceInstanceEvent>
A base class for classes that automatically register the server with discovery services.
Since:
1.0
Author:
Graeme Rocher
  • Field Details

    • LOG

      protected static final org.slf4j.Logger LOG
    • registered

      protected final AtomicBoolean registered
  • Constructor Details

    • AutoRegistration

      protected AutoRegistration(RegistrationConfiguration registrationConfiguration)
      Initialize given configurations.
      Parameters:
      registrationConfiguration - Common configurations for registration
  • Method Details