Let's assume you're going to use this lookup mechanism a lot. So, you can create a shortcut for it like this:
<define name="lookup" className="org.apache.commons.chain.generic.LookupCommand"/>
and then, in your actual chain definitions, you can say:
<lookup name="foobar.chain"/>
Essentially, the implementation creates new Digester rules on the fly. Does that help?
It seems like it would -- and in any case, it's pretty cool!
Like I said, I'm probably jumping the gun myself asking about syntax changes.
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana