I just checked in Robert's FactoryCreateRule implementation. In addition,
it supports the case where you might want to dynamically select the
factory class name itself (as long as the factory class has a zero-args
constructor). Otherwise, you just register an existing
ObjectCreationFactory method as Robert's patch already supported.
Craig
On Sun, 29 Jul 2001, robert burrell donkin wrote:
> On Sunday, July 29, 2001, at 07:02 PM, Scott Sanders wrote:
>
> > Bring it on!
>
> the ObjectCreateRule requires an empty constructor. if you're using
> digester with an existing object method this might mean having to rewrite
> existing beans in ways that you might prefer not to. these classes work
> like ObjectCreateRule but call a factory method passing the attributes so
> that they can be used (for example in a call to a constructor or to a
> factory method).
>
> - robert
>
> <Attachment missing><Attachment missing>
>
>