return invoke(shortName, type, methodName, NO_ARGS, NO_TYPES);
}
public Object invoke(ObjectName objectName, String methodName, Object[] args, String[] types) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception {
GBeanInstance gbeanInstance = registry.getGBeanInstance(objectName);
return gbeanInstance.invoke(methodName, args, types);
}
public Object invoke(AbstractName abstractName, String methodName, Object[] args, String[] types) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception {
GBeanInstance gbeanInstance = registry.getGBeanInstance(abstractName);
return gbeanInstance.invoke(methodName, args, types);