commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <>
Subject Re: [chain] Propose new class: Catalog Factory
Date Wed, 22 Sep 2004 17:44:22 GMT
I confess to ambivalence on this one.  While it's always nice to have
utility APIs like this, is there really enough value add over the
typical naive implementation?

If you do go ahead and propose the code for this, I'd suggest a public
interface in o.a.c.chain and a default implementation in
o.a.c.chain.impl as you see for the other APIs.


On Tue, 21 Sep 2004 14:12:19 -0400, Sean Schofield
<> wrote:
> I'm proposing we consider adding a CatalogFactory class with the
> following methods:
> +getInstance():CatalogFactory
> +getCatalog():Catalog
> We'd also have an init() method or two to help initialize the Factory.
> We could then change ChainListener to use CatalogFactory to intialize
> and store the catalog (instead of storing in the ServletContext.)
> I think CatalogFactory would be a good way to make a Catalog available
> to the rest of the application (whether its a servlet application,
> struts application or stand-alone application.)
> What do you guys think?
> sean
> ps. I'm happy to get us started if folks can agree.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message