Class ApplicationConfigurationService

java.lang.Object
io.micronaut.maven.services.ApplicationConfigurationService

@Singleton public class ApplicationConfigurationService extends Object
Parses the Micronaut application configuration.
Since:
1.1
Author:
Álvaro Sánchez-Mariscal
  • Field Details

  • Constructor Details

  • Method Details

    • getServerPort

      Determines the application port by looking at the MICRONAUT_SERVER_PORT environment variable, the micronaut.server.port configuration property, or falls back to a default port.
      Returns:
      The application port