Menu

#1 New helper funciton for Logic

open
nobody
None
5
2003-03-11
2003-03-11
No

I would like to see a function like
cplx (Customer.class, "getTurnover", new Integer
(12), DB.getKindOfPayment (VISA)

SupportLogicFactory.cplx would then call
http://java.sun.com/j2se/1.3/docs/api/java/lang/
Class.html\#getMethods() and searched through
the result set for the correct function name. If it
finds the right name, it would check to make sure
the parameters are correct. If it couldn't find the
function, throw a IllegalArgumentException.

Discussion


Log in to post a comment.