[picocontainer-dev] Better CAF handling
Paul Hammant <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
( so I agree in the end with others on keeping 'ComponentAdapter'
naming as is - it is for more advanced people )
That said, I've dropped to Adapter only for the following discussion
that Erik started some days ago. Which do y'all like best :-
MutablePicoContainer mpc = new PicoBuilder().withWithCaching
().withThreadSafety().withHiddenImplementations().withSetterInjection
().build();
MutablePicoContainer mpc = new PicoBuilder().withAdapters
(caching().of().madeThreadSafe().of().hiddenImplementations().of
().setterInjection()).build();
MutablePicoContainer mpc = new PicoBuilder().withAdapters
(CACHING, THREADSAFE, IMPL_HIDING, CDI).build();
or some other builder style design .. ?
-ph
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email