JavaAppExecutableResourceOptions
Class net10.0
This represents the options entity for configuring an executable Java application.
namespace Aspire.Hosting.ApplicationModel;
public class JavaAppExecutableResourceOptions{ // ...} 6 members
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesApplicationNameget; setstring? Gets or sets the application name. Default is
target/app.jar. Argsget; setstring[]? Gets or sets the arguments to pass to the Java application.
JvmArgsget; setstring[]? Gets or sets the arguments to pass to the Java Virtual Machine.
OtelAgentPathget; setstring? Gets or sets the OpenTelemetry Java Agent path. It should be an absolute path or relative to the working directory.
Portget; setint Gets or sets the port number. Default is
8080.