james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Burrell Donkin <robertburrelldon...@gmail.com>
Subject Re: First Steps Towards An Avalon Free Future
Date Wed, 19 Aug 2009 16:22:31 GMT
On Wed, Aug 19, 2009 at 4:56 PM, Norman Maurer<norman@apache.org> wrote:
> 2009/8/19 Robert Burrell Donkin <robertburrelldonkin@gmail.com>:
>> On Wed, Aug 19, 2009 at 4:06 PM, Norman Maurer<norman@apache.org> wrote:
>>> Comments inside..
>>>
>>>
>>> 2009/8/19 Robert Burrell Donkin <robertburrelldonkin@gmail.com>:
>>>> On Wed, Aug 19, 2009 at 9:35 AM, Norman Maurer<norman@apache.org> wrote:
>>>>> Hi Robert,
>>>>>
>>>>> comments inside...
>>>>>
>>>>> 2009/8/19 Robert Burrell Donkin <robertburrelldonkin@gmail.com>:
>>>>>> Loader Service
>>>>>> ------------------
>>>>>>
>>>>>> create loading services (LoaderService interface?) for classes. this
>>>>>> can be used to replace the classloading each uses ATM. API probably
>>>>>> something like:
>>>>>>
>>>>>> <T> load(class<T> type)
>>>>>>
>>>>>> once this is done, we switch the implementation to use guice primed
>>>>>> with a module dynamically assembled by PhoenixLoader. would need
to
>>>>>> support JSR250 annotation.
>>>>>>
>>>>>
>>>>> +1
>>>>
>>>> anyone want to take a look at this?
>>>>
>>>
>>> Yeah I would like to tackle this.
>>
>> cool
>>
>> i've been looking at the mailet side of things today
>>
>>> Just to understand your vision a bit
>>> I want to make sure I understood correct:
>>>
>>> 1) Add a new LoaderService which will get injected via Service
>>> livecycle into the "core" services, and will get used to create new
>>> instaces via Injector.getInstance(..)
>>
>> easier just to use the JSR250 annotation support that's already in
>> there for setter based service injection
>
> Sorry not understand :(

for services loaded by phoenix, PhoenixLoader already supports setter
injection and injection-aware lifecycles via JSR250 annotations

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message