commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Germuska <...@Germuska.com>
Subject Re: [chain] Configuration idea
Date Thu, 21 Oct 2004 19:50:12 GMT
At 11:37 AM -0700 10/21/04, Craig McClanahan wrote:
>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            
Joe@Germuska.com  
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message