mxbean

JXM MXBean custom attributes

别等时光非礼了梦想. 提交于 2020-01-17 02:41:28
问题 I have a problem with MXBean custom types and I am not able to handle it. This is my java structure, that involves Map< enum, OtherThing> attribute PPV and its interface public class PPV implements PPVMXBean { public enum EnumPV { PV1, PV2; } public static Map<EnumPV, PV> list; public Map<EnumPV, PV> getList() { return list; } } public interface PPVMXBean { public Map<EnumPV, PV> getList(); } PV and its interface public class PV implements PVBean { public enum EnumTP { TP1, TP2; } private Map