Fall back to standard LiveBeansView behaviour when MBean is in use
Closes gh-8146
This commit is contained in:
@@ -75,6 +75,9 @@ public class BeansEndpoint extends AbstractEndpoint<List<Object>>
|
||||
|
||||
@Override
|
||||
public String getSnapshotAsJson() {
|
||||
if (this.leafContext == null) {
|
||||
return super.getSnapshotAsJson();
|
||||
}
|
||||
return generateJson(getContextHierarchy());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user