Re: [picocontainer-dev] caf chaining in builder (done)

"Nick Sieger" <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
On 5/29/07, Paul Hammant <[email protected]> wrote:
> MutablePicoContainer mpc = new PicoBuilder
> ().withComponentAdapterFactories(CACHING(), IMPL_HIDING(), SDI
> ()).build()
>
> They are in caps cos they are public static methods (thankfully
> stateless).
>
> Thoughts on the following ?
>
>     withComponentAdapterFactories() versus withFactories()
>    CACHING() versus caching() cache() singletons() singleInstances()
> cached()
>    IMPL_HIDING() versus HIDDEN() hidden() hide() hideThem()

A stretch, but what about "withFeatures"?  I understand it's
introducing new terminology...

new PicoBuilder().withFeatures(singletons(), implHiding());

/Nick

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.