nyla.solutions.global.util.PROXY Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.global Show documentation
Show all versions of nyla.solutions.global Show documentation
Nyla Solutions Global Java API provides support for basic application
utilities (application configuration, data encryption, debugger and text
processing).
The newest version!
package nyla.solutions.global.util;
import java.lang.reflect.Method;
import java.util.ArrayList;
import nyla.solutions.global.exception.RequiredException;
/**
*
* 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