1 22 package org.jboss.test.jmx.nullinfo; 23 24 import javax.management.*; 25 26 public class NullInfo implements DynamicMBean{ 27 28 static org.jboss.logging.Logger log = 29 org.jboss.logging.Logger.getLogger(NullInfo.class); 30 31 public MBeanInfo getMBeanInfo(){ 33 log.debug("Returning null from getMBeanInfo"); 34 return null; 35 } 36 37 public Object invoke(String action, Object [] params, String [] sig){ 38 log.debug("Returning null from invoke"); 39 return null; 40 } 41 42 public Object getAttribute(String attrName){ 43 log.debug("Returning null from getAttribute"); 44 return null; 45 } 46 public AttributeList getAttributes(String [] attrs){ 47 log.debug("Returning null from getAttributes"); 48 return null; 49 } 50 public void setAttribute(Attribute attr){ 51 log.debug("setAttribute called"); 52 } 53 public AttributeList setAttributes(AttributeList attrs){ 54 log.debug("Returning null from setAttributes"); 55 return null; 56 } 57 } 58 | Popular Tags |