JavaAppHostingExtension
Class static net10.0
Provides extension methods for adding Java applications to an
Hosting.IDistributedApplicationBuilder. namespace Aspire.Hosting;
public static class JavaAppHostingExtension{ // ...} 5 members
Methods5
Section titled MethodsAddJavaApp(IDistributedApplicationBuilder, string, JavaAppContainerResourceOptions)extensionIResourceBuilder<JavaAppContainerResource> Adds a Java application to the application model. Executes the containerized Java app.
AddJavaApp(IDistributedApplicationBuilder, string, string, JavaAppExecutableResourceOptions)extensionIResourceBuilder<JavaAppExecutableResource> Adds a Java application to the application model. Executes the executable Java app.
AddSpringApp(IDistributedApplicationBuilder, string, JavaAppContainerResourceOptions)extensionIResourceBuilder<JavaAppContainerResource> Adds a Spring application to the application model. Executes the containerized Spring app.
AddSpringApp(IDistributedApplicationBuilder, string, string, JavaAppExecutableResourceOptions)extensionIResourceBuilder<JavaAppExecutableResource> Adds a Spring application to the application model. Executes the executable Spring app.
WithMavenBuild(IResourceBuilder<JavaAppExecutableResource>, MavenOptions?)extensionIResourceBuilder<JavaAppExecutableResource> Adds a Maven build step to the application model.