mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Change order of properties in endpoint mbean objectNames to make display in jconsole nicer
This commit is contained in:
parent
c65dc9063c
commit
6519ee0171
@ -170,11 +170,11 @@ public class EndpointMBeanExporter extends MBeanExporter implements SmartLifecyc
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append(this.domain);
|
||||
builder.append(":type=Endpoint");
|
||||
builder.append(",name=" + beanKey);
|
||||
if (parentContextContainsSameBean(this.applicationContext, beanKey)) {
|
||||
builder.append(",context="
|
||||
+ ObjectUtils.getIdentityHexString(this.applicationContext));
|
||||
}
|
||||
builder.append(",name=" + beanKey);
|
||||
if (this.ensureUniqueRuntimeObjectNames) {
|
||||
builder.append(",identity="
|
||||
+ ObjectUtils.getIdentityHexString(((EndpointMBean) bean)
|
||||
|
Loading…
Reference in New Issue
Block a user