Re: [picocontainer-dev] Better CAF handling

peter royal <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
On May 24, 2007, at 1:18 PM, Putrycz, Erik wrote:
> Won't allow to plug additional CAFs in a friendly way where as
> MutablePicoContainer mpc = new PicoBuilder().withAdapters (CACHING,
> THREADSAFE, IMPL_HIDING, CDI).build(); could allow to plug anything  
> else
> with a simple import.

k, so, how about:

MutablePicoContainer mpc =
   new PicoBuilder()
     .with(caching())
     .with(threadSafe())
     .with(hiddenImplementation())
     .with(cdi())
     .build();

the ALL_CAPS things drives me nuts :)

-pete


-- 
(peter.royal|osi)@pobox.com - http://fotap.org/~osi
smime.p7s (application/pkcs7-signature, 2.4 KB) - not displayed
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.