Hi,
The spring is for now completely defined in sever.
This means that developers willing to use mailbox (or imap) as a
component have no straigh-forward way to assemble mailbox classes with
spring.
We could create a spring module for mailbox (and imap), define there the
injection, and simply import the definition in server context.
A bit like cxf does with:
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
About the place of the spring context, META-INF seems to be a trend in
many projects. We could place them in META-INF/james.
This means that definitions are embedded in jars, so less easy to change.
However, I think only developers needs to change beans, so it will be
easy for him to have a custom spring context with its own files.
Also, this will allow more easily to write more samples for the
different projects (mailbox, imap,...).
Wdyt?
Tks,
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org