jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Edelson <justinedel...@gmail.com>
Subject Re: Register CND file via configuration file
Date Sun, 21 Mar 2010 20:41:49 GMT
If you already have the code, why not wrap it inside a serlvet's init
method?

Also, you might want to look at Sling, which supports the automatic
loading CND files from OSGi bundles.

Justin

On Mar 21, 2010, at 3:59 PM, Norman Maurer <norman@apache.org> wrote:

> Thx
> for the response... Sadly this makes it impossible to use jcr-rmi
> for me ATM
>
> Bye
> Norman
>
> 2010/3/21, Jukka Zitting <jukka.zitting@gmail.com>:
>> Hi,
>>
>> On Sun, Mar 21, 2010 at 7:53 PM, Norman Maurer <norman@apache.org>
>> wrote:
>>> is it somehow possible to include a CND file via xml configuration ?
>>> At the moment I do it via CNDImporter but I would like to "load"
>>> it on
>>> startup without calling the code..
>>
>> No, that's not possible. Note that you only need to load the node
>> types once, not at every startup of the repository.
>>
>> BR,
>>
>> Jukka Zitting
>>

Mime
View raw message