
nyla.solutions.core.util.PROXY Maven / Gradle / Ivy
package nyla.solutions.core.util;
import nyla.solutions.core.exception.RequiredException;
import java.lang.reflect.Method;
import java.util.ArrayList;
/**
*
* PROXY provides a set of functions to execute an operation on an object
*
*
* @author Gregory Green
* @version 1.0
*/
public class PROXY
{
public static Object executeMethod(Object aObject, String aMethodName,
Object[] aArguments) throws Exception
{
if (aObject == null)
throw new RequiredException("Input object");
// get array of inputs
Class>[] parameterTypes = null;
ArrayList
© 2015 - 2025 Weber Informatics LLC | Privacy Policy