Lines Matching refs:mmbi
68 ModelMBeanInfo mmbi =
74 mmbi.setDescriptor(null, "attribute");
104 ModelMBeanInfoSupport mmbi;
106 mmbi =
109 ok &= checkMMBI(mmbi, "null parameters, no descriptor");
111 mmbi =
114 ok &= checkMMBI(mmbi, "null parameters, null descriptor");
116 mmbi =
122 ok &= checkMMBI(mmbi, "empty parameters, no descriptor");
124 mmbi =
131 ok &= checkMMBI(mmbi, "empty parameters, null descriptor");
136 private static boolean checkMMBI(ModelMBeanInfoSupport mmbi, String what)
140 if (!(mmbi.getAttributes() instanceof ModelMBeanAttributeInfo[]))
142 if (!(mmbi.getConstructors() instanceof ModelMBeanConstructorInfo[]))
144 if (!(mmbi.getOperations() instanceof ModelMBeanOperationInfo[]))
146 if (!(mmbi.getNotifications() instanceof ModelMBeanNotificationInfo[]))
164 ModelMBeanInfo mmbi;
167 mmbi = new ModelMBeanInfoSupport("bogus.class.name", "description",
170 mbeanDescrs = mmbi.getDescriptors("mbean");
194 mmbi = new ModelMBeanInfoSupport("bogus.class.name", "description",
197 mbeanDescrs = mmbi.getDescriptors("mbean");
201 mbeanDescrs = new Descriptor[] {mmbi.getMBeanDescriptor()};