commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <>
Subject Re: [digester] give Digester access to private data
Date Wed, 12 Mar 2003 21:09:38 GMT

robert burrell donkin wrote:

> simon's right that the standard rules that ship with digester use 
> beanutils for introspection. the intention is to make introspection the 
> same as the java language access rules (obeyed by java compilers).
> there actually isn't anything inherent that ties digester to this kind 
> of introspection - it's just that this is the aim of the standard rules.
> IMHO the right way to approach this question would be to create new 
> rules which vary the introspection systems used. using reflection to 
> access private or protected methods can get a bit hairy - but the people 
> using these rules should know that already.
> i would be happy (if there is demand) to vary the design of the basic 
> classes which use introspection, refactoring the introspection code into 
> a separate interface allowing this to be varied more easily.

I'm not familiar enough with techniques using reflection to make this 
worth your while, though that isn't to say that there aren't others who 
would benefit from it.

> you might like to take a look at the clazz project (currently in the 
> sandbox).

I will do that.

Thanks Robert,


View raw message