jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu Baudier <mbaud...@argeo.org>
Subject Declarative namespace registration
Date Tue, 11 Jan 2011 17:20:50 GMT
Hello,

is there a way to register namespace declaratively (in a config file,
like a repository.xml file) instead of programmatically using
javax.jcr.NamespaceRegistry.registerNamespace(String, String) ?

What bothers me is that I need to find a way for the system to
automatically open a session when it starts (and thus provide
credentials) in order to access the workspace and then the namespace
registry.

I'm sure that others are also facing the issue and I would be
interested in any best practices.

We are using Jackrabbit 2.20.

Thanks in advance for any hint...

Mathieu

Mime
View raw message