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:32:38 GMT
Maybe a could paste my snippet to create the BindableRepository:

        Reference ref = new Reference(Repository.class.getName(),
BindableRepositoryFactory.class.getName(), null);
        ref.add(new
StringRefAddr(BindableRepository.CONFIGFILEPATH_ADDRTYPE,
jackrabbitConfigFile));
        ref.add(new StringRefAddr(BindableRepository.REPHOMEDIR_ADDRTYPE,
homeDir));

        repository = new BindableRepository(ref);

        jndiContext.bind("jcr/local", repository);

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