Hi Mario,
Thanks a lot for your reply.
Currently, I am using lambdaj's Argument component to build an
expression, and then I will use reflection to call those methods one
by one.
E.g.
1st, I will use lambdaj's Argument to record what method I have been
called.
Student s = on(Student.class);
Expression exp = eq(s.getGrade(), 3);
public static Expression eq(X x1, X x2)
{
if(isArgument(x1)){
method1= getMethodFromArgument(x1);
}
...
return new Expression(method1, method2);
}
2nd, I will apply these method call to my framework to calculate any
input data
e.g.
result= expression.evalute(data);
That is the reason why I want ArgumentsFactory class is not a Final
class, so that I can extend it, and then, I am about to extend
ArgumentsFactory to create my own customized Arguments which can give
me access ability to get InvocationSequence, etc.
Would you mind to make ArgumentsFactory to be extensible? thanks
again.
David