1 22 package org.jboss.test.jmx.compliance.server.support; 23 24 import javax.management.MBeanRegistration ; 25 import javax.management.MBeanRegistrationException ; 26 import javax.management.MBeanServer ; 27 import javax.management.ObjectName ; 28 29 34 public class Test4 implements Test4MBean, MBeanRegistration 35 { 36 37 public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception 38 { 39 throw new MBeanRegistrationException (new MyScreamingException()); 40 } 41 42 public void postRegister(Boolean b) 43 { 44 } 45 46 public void preDeregister() throws Exception 47 { 48 } 49 50 public void postDeregister() 51 { 52 53 } 54 } 55 56 57 58 59 | Popular Tags |