java.lang.Object
com.azure.runtime.host.extensions.microservice.common.MicroserviceExtension
All Implemented Interfaces:
Extension
Direct Known Subclasses:
MicronautExtension, QuarkusExtension, SpringExtension

public abstract class MicroserviceExtension extends Object implements Extension
  • Constructor Details

    • MicroserviceExtension

      protected MicroserviceExtension(String name, String description)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Extension
      Returns the extension name - which is used when displaying the extension in the UI / CLI.
      Specified by:
      getName in interface Extension
      Returns:
      The name of the extension.
    • getDescription

      public String getDescription()
      Description copied from interface: Extension
      Returns a description of the extension - which is used when displaying the extension in the UI / CLI.
      Specified by:
      getDescription in interface Extension
      Returns:
      The description of the extension.
    • addEurekaServiceDiscovery

      public EurekaServiceDiscovery addEurekaServiceDiscovery(String name)
      Adds a new Eureka service to the app host.
      Parameters:
      name - The name of the Eureka service.
      Returns:
      A new EurekaServiceDiscovery instance that can be used to configure Eureka.