Lines Matching refs:StupidMXBean
45 public static interface StupidMXBean {
51 public static class StupidImpl implements StupidMXBean {
62 public StupidMXBean getStupid();
66 private final StupidMXBean stupid;
68 ReferImpl(StupidMXBean stupid) {
72 public StupidMXBean getStupid() {
123 StupidMXBean stupid = new StupidImpl();
128 StupidMXBean stupid2 = (StupidMXBean)
129 Proxy.newProxyInstance(StupidMXBean.class.getClassLoader(),
130 new Class<?>[] {StupidMXBean.class},
134 Field zero = StupidMXBean.class.getField("ZERO");
139 StupidMXBean proxy = JMX.newMXBeanProxy(mbs, name, StupidMXBean.class);
144 StupidMXBean stupidProxy2 = referProxy.getStupid();
146 Method[] methods = StupidMXBean.class.getMethods();