id property

String get id

A name that tells this context apart from others in logs, for example a parent and a child.

By default the class name and identity hash code (AnnotationConfigApplicationContext@1b2c3d, as Spring's ObjectUtils.identityToString). Spring Boot's SpringApplication uses spring.application.name (or application).

Implementation

String get id;