Class MicronautExtension
java.lang.Object
com.azure.runtime.host.extensions.microservice.common.MicroserviceExtension
com.azure.runtime.host.extensions.micronaut.MicronautExtension
- All Implemented Interfaces:
Extension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddMicronautProject
(String name) Adds a new Micronaut project to the app host.Methods inherited from class com.azure.runtime.host.extensions.microservice.common.MicroserviceExtension
addEurekaServiceDiscovery, getDescription, getName
-
Constructor Details
-
MicronautExtension
public MicronautExtension()
-
-
Method Details
-
addMicronautProject
Adds a new Micronaut project to the app host.- Parameters:
name
- The name of the Micronaut project.- Returns:
- A new
MicronautProject
instance that can be used to configure the project.
-