| java.lang.Object net.sf.crispy.util.Invoker
Invoker | final public class Invoker (Code) | | Work with reflection API.
author: Linke |
Method Summary | |
public static Object[] | array2SimpleArray(Object[] pvArray, Converter pvConverter) | public static Vector | array2SimpleVector(Object[] pvArray) | public static Vector | array2Vector(Object[] pvArray) | public static Method[] | findAllMethods(Class pvClass, String pvMethodName) | public static Method | findMethod(Class pvClass, String pvMethodName, List pvParams) | public static Object | invoke(String pvClassName, String pvMethodName, Vector pvParams, boolean pvWithConverter, Converter pvConverter) | public static Object | invoke(Object pvObject, String pvMethodName, Vector pvParams, boolean pvWithConverter, Converter pvConverter) | public static Object | invokeWithConverter(Object pvObject, String pvMethodName, Vector pvParams, Converter pvConverter) Invoke method from pvObject with the method-name (pvMethodName) and parameter (pvPrams) via reflection. | public static boolean | isCompatibleType(Class pvType1, Class pvType2) | public static Object[] | vector2Array(Vector pvVector, Method pvMethod, Converter pvConverter) |
invokeWithConverter | public static Object invokeWithConverter(Object pvObject, String pvMethodName, Vector pvParams, Converter pvConverter) throws Exception(Code) | | Invoke method from pvObject with the method-name (pvMethodName) and parameter (pvPrams) via reflection.
Parameters: pvObject - object for the method call Parameters: pvMethodName - name of method Parameters: pvParams - parameter for method the return value from the method call throws: Exception - |
isCompatibleType | public static boolean isCompatibleType(Class pvType1, Class pvType2)(Code) | | |
|
|