1 8 9 package mx4j.server.interceptor; 10 11 import mx4j.MBeanDescriptionAdapter; 12 13 import java.lang.reflect.Method ; 14 import java.lang.reflect.Constructor ; 15 16 21 public class InvokerMBeanServerInterceptorMBeanDescription extends MBeanDescriptionAdapter 22 { 23 public String getMBeanDescription() 24 { 25 return "The interceptor that invokes on the MBean instance"; 26 } 27 28 public String getAttributeDescription(String attribute) 29 { 30 if (attribute.equals("Type")) 31 { 32 return "The type of this interceptor"; 33 } 34 if (attribute.equals("Enabled")) 35 { 36 return "This interceptor is always enabled and cannot be disabled"; 37 } 38 return super.getAttributeDescription(attribute); 39 } 40 } 41 | Popular Tags |