IJavaAppResource
Interfacenet10.0
Marks a resource that runs a Java application, whether as a local process or as a container.
namespace Aspire.Hosting.Java;
public interface IJavaAppResource : Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithEnvironment{ // ...}IResourceIResourceWithEnvironment
Remarks
Section titled Remarks Implemented by
JavaAppResource and JavaContainerResource so that configuration which is meaningful for any JVM, such as JavaHostingExtensions.WithJvmArgs, applies to both without also appearing on unrelated executables and containers.