JETLEAF_APPLICATION_NAME property

String JETLEAF_APPLICATION_NAME
final

The property key used to override the Jetleaf application name.

Developers can set this property in their environment configuration to change the logical application name reported by the context.

Property Resolution Order:

  1. jetleaf.application.name (this property)
  2. application.name (fallback)
  3. Default naming based on main application class

Configuration Examples:

# application.yaml
jetleaf:
  application:
    name: MyCustomJetleafApp
// Programmatic configuration
environment.setProperty(
  AbstractApplicationContext.JETLEAF_APPLICATION_NAME,
  'MyCustomApp'
);

Implementation

static final String JETLEAF_APPLICATION_NAME = "jetleaf.application.name";