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: [mailets] POJOs (and in particular SieveToMultiMailbox)
Date Wed, 03 Sep 2008 20:17:27 GMT
On Wed, Sep 3, 2008 at 9:07 PM, Stefano Bagnara <apache@bago.org> wrote:
> Robert Burrell Donkin ha scritto:
>> On Wed, Sep 3, 2008 at 11:36 AM, Stefano Bagnara <apache@bago.org> wrote:
>> <snip>
>>> Do you want to implementa LinearProcessor that simply ignore the
>>> MailetLoader/MatcherLoader service and use it's own loading mechanism?
>>> I'm not sure I like this, but it can be a PoC.
>> IMO making assembly a service is a mistake. processor should assemble
>> themselves.
> I don't understand.
> We have:
> SpoolManager (top level component)
> MailetLoader (top level service)
> MatcherLoader (top level service)
> SpoolManager instantiate and configure a MailProcessor, in our case it
> instantiate the StateAwareProcessorList and configure it with an Avalon
> Configuration.
> StateAwareProcessorList is a MailProcessor that configures a number of
> "labelled" MailProcessors using parts/childs of its Configurations. The
> default implementation is LinearProcessor.
> LinearProcessor read a list of matcher/mailet name from the received
> configuration and ask Mailet/Matcher Loaders for instances given the name
> and the Configuration subtree for that mailet.
> Are you proposing to change the above behaviour or to introduce new
> alternative implementations with a different behaviour?
> Can you detail what components would you like to add or what services you
> would like to reimplement?
> Otherwise if you prefer to speak with code I can wait for the code so we
> better understand each other.

i think i've managed to confuse you. probably easier for me to create
an example or two and commit it.

- robert

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

View raw message