Am 13.01.2013 13:24, schrieb Simone Tripodi:
> Salut Eric!
>
>> Well, we are talking here about configurating the injection.
>> It can be injecting the expiration time for a memory cache entries, about
>> choosing Visa vs MasterCard...
>>
>> So I still like to think about injection configuration.
>>
>> Does it make sense?
> sure that it does! we created indeed a separated module for that
> purpose, see the Onami Configuration module
> <http://onami.incubator.apache.org/configuration/>
> What Onami Configuration misses is the configuration
> watchdog/reload/update injections, that I would discuss in a separate
> thread - every suggestion is more than welcome! :)
But wouldn't update / reload needs some tricks like childinjectors?

> The approach we followed, while creating Onami extensions, is
> splitting functionalities in small reusable modules, rather than build
> a big monolithe, in order that our users can include just the
> feature(s) they are interested and not a complete framework.
> Another concept we kept in mind, is being strict as much as possible
> to Guice SPIs, in oder to make extensions collaborate even if they are
> not aware each other, I mean you can still discover&bind services via
> Onami SPI and inject configuration properties via Onami Configuration.
>
> Thanks a lot!
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/

Reply via email to