jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Rodekamp <sascha.rodekamp.lynx...@googlemail.com>
Subject BindingRepository example
Date Wed, 22 Jun 2011 13:01:01 GMT
Hi,

i try to store my repository objects in JNDI. That don't work with the
TransientRepository because it doesn't implement the referencable interface.
I decided to use the BindingRepository.

Repository repository = new TransientRepository (jackrabbitConfigFile,
homeDir);
...
jndiContext.bind("jcr/local", repository);

That won't work :). First questions, is it the right way to use the
BindingRepository and is there an example for creating a BindingRepository?

Regards,
Sascha

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message