1 8 9 package mx4j.server.interceptor; 10 11 import mx4j.MBeanDescriptionAdapter; 12 13 18 public class SecurityMBeanServerInterceptorMBeanDescription extends MBeanDescriptionAdapter 19 { 20 public String getMBeanDescription() 21 { 22 return "The interceptor that performs security checks for MBeanServer to MBean calls"; 23 } 24 25 public String getAttributeDescription(String attribute) 26 { 27 if (attribute.equals("Type")) 28 { 29 return "The type of this interceptor"; 30 } 31 if (attribute.equals("Enabled")) 32 { 33 return "This interceptor is always enabled and cannot be disabled"; 34 } 35 return super.getAttributeDescription(attribute); 36 } 37 } 38 | Popular Tags |