1 22 package org.jboss.system.server.jmx; 23 24 import javax.management.MBeanServerBuilder ; 25 import javax.management.MBeanServerDelegate ; 26 import javax.management.MBeanServer ; 27 28 40 public class MBeanServerBuilderImpl 41 extends MBeanServerBuilder 42 { 43 47 public MBeanServerDelegate newMBeanServerDelegate() 48 { 49 return new MBeanServerDelegate (); 50 } 51 52 63 public MBeanServer newMBeanServer(String defaultDomain, MBeanServer outer, 64 MBeanServerDelegate delegate) 65 { 66 if( outer == null ) 67 outer = super.newMBeanServer(defaultDomain, outer, delegate); 68 return new LazyMBeanServer(defaultDomain, outer, delegate); 69 } 70 } 71 | Popular Tags |