getDisplayName abstract method
Returns the display name of this application context.
The display name is typically more descriptive than the application name and may include additional context information like:
- Context type and role
- Module or component information
- Environment-specific identifiers
- Instance sequence numbers
Example Display Names:
- "Main Application Context (Production)"
- "Web MVC Dispatcher Servlet Context"
- "Test Context #1 for UserServiceTests"
- "Batch Processing Context - JobLauncher"
Usage:
print('Operating context: ${context.getDisplayName()}');
// Output: "Operating context: AnnotationConfigApplicationContext - MyApp"
Implementation
String getDisplayName();