public Object invoke(String method, Object[] args, String[] signature) throws MBeanException, ReflectionException { Object value = null; if( method.equals("getConfiguration") ) { Configuration currentConfig = (Configuration) args[0]; value = this.getConfiguration(currentConfig); } return value; }
public Object invoke(String method, Object[] args, String[] signature) throws MBeanException, ReflectionException { Object value = null; if( method.equals("getConfiguration") ) { Configuration currentConfig = (Configuration) args[0]; value = this.getConfiguration(currentConfig); } return value; }