155156157158159160161162
return session; } catch (Exception e) { throw new RepositoryException("Impossible to login ", e); } }
201202203204205206207208
} catch (Exception e) { log.error("Error while setting up the jcr session.", e); throw new RepositoryException(e.getMessage()); } }
6970717273747576
objectConverter.insert(session, parentNode, beanDescriptor.getJcrName() , object); } } catch (javax.jcr.RepositoryException e) { throw new RepositoryException(e); } }
919293949596979899
parentNode.getNode(beanDescriptor.getJcrName()).remove(); } } catch (javax.jcr.RepositoryException e) { throw new RepositoryException(e); } }
697071727374757677
return objectConverter.getObject(session, grandParentNode.getPath()); } catch (javax.jcr.RepositoryException e) { throw new RepositoryException(e); } }
101102103104105106107108
return null; } } catch (javax.jcr.RepositoryException e) { throw new RepositoryException(e); } }
76777879808182838485
RegistryHelper.registerRepository(ctx, repositoryName, configFile, homeDir, true); } catch (Exception e) { throw new RepositoryException("Impossible to register the respository : " + repositoryName + " - config file : " + configFile, e); } }
103104105106107108109110111112
RegistryHelper.unregisterRepository(ctx, repositoryName); } catch (Exception e) { throw new RepositoryException("Impossible to unregister the respository : " + repositoryName , e); } }
142143144145146147148149
return repository; } } catch (Exception e) { throw new RepositoryException("Impossible to get the repository : " + repositoryName, e); } }
167168169170171172173174