1 17 18 package org.apache.catalina.mbeans; 19 20 21 import javax.management.MBeanException ; 22 import javax.management.MBeanServer ; 23 import javax.management.RuntimeOperationsException ; 24 25 import org.apache.tomcat.util.modeler.BaseModelMBean; 26 import org.apache.tomcat.util.modeler.ManagedBean; 27 import org.apache.tomcat.util.modeler.Registry; 28 29 30 37 38 public class RoleMBean extends BaseModelMBean { 39 40 41 43 44 53 public RoleMBean() 54 throws MBeanException , RuntimeOperationsException { 55 56 super(); 57 58 } 59 60 61 63 64 67 protected Registry registry = MBeanUtils.createRegistry(); 68 69 70 73 protected MBeanServer mserver = MBeanUtils.createServer(); 74 75 76 79 protected ManagedBean managed = 80 registry.findManagedBean("Role"); 81 82 83 85 86 88 89 } 90 | Popular Tags |