james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: svn commit: r538717 - in /james/server/sandbox/james-jcr/src/main/java/org/apache/james/jcr: AvalonJCRMailRepository.java JCRMailRepository.java
Date Thu, 17 May 2007 08:34:53 GMT
Hi,

On 5/17/07, Stefano Bagnara <apache@bago.org> wrote:
> jukka@apache.org ha scritto:
> > Log:
> > james-jcr: Simple JCRMailRepository class and basic Avalon bindings
> > [...]
> > +public class AvalonJCRMailRepository extends JCRMailRepository
> > +        implements Configurable, Startable {
> > [...]
> > +    public void start() throws Exception {
>
> IIRC you have to use initializable because MailRepositories are
> internally managed by the Store and our store implementation supports
> Initializable, Configurable, Serviceable (maybe Disposable).

Thanks, I was already wondering why nothing was happening. :-)

Initializable is actually better for now, I'm using the lifecycle
event to initialize the content repository with the custom node types
and namespaces used by JCRMailRepository.

BR,

Jukka Zitting

---------------------------------------------------------------------
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