public class MessageDispatcher extends Object
public static Object dispatch(Object target, String methodName, Object... args)
Note that this scheme finds only exact matches between types of arguments and declared types of formal parameters for declared or inherited methods. So it will not call a method with formal parameter types of (Transaction, List) if the actual arguments are (Transaction, ArrayList).
Copyright © 2014. All Rights Reserved.