JETLEAF_APPLICATION_NAME property
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:
jetleaf.application.name
(this property)application.name
(fallback)- 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";