commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <>
Subject [digester] InvokeMethodRule
Date Fri, 09 Apr 2004 11:44:22 GMT

I've created a branch called DIGESTER_INVOKE_METHOD_BRANCH, and
committed some code to it.

This is an implementation of a new variant of CallMethodRule.
This new variant invokes its target method as soon as all parameters are
available. As discussed earlier on this list, this makes behaviour more
intuitive in most cases.

It also takes the opportunity to learn some lessons from CallMethodRule,
and hopefully provide a cleaner API.

And hopefully it provides a model for implementing "immutable object
creation", where it is desired to create objects with non-default
constructors, but where the data is present as child tags, not as

I don't think this is candidate material for release 1.6, as it is a
reasonably large body of new code. But it does pass *all* the tests
provided for CallMethodRule (modified to suit the InvokeMethodRule api).
I'm committing it now so that people can see the code (and so I don't
lose it!).

All comments welcome.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message