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
|