Robert Burrell Donkin ha scritto:
On Wed, Sep 3, 2008 at 11:36 AM, Stefano Bagnara <[EMAIL PROTECTED]> 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.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]