public RepositoryService getRepositoryService() throws RepositoryException {
if (service == null) {
String uri = getProperty(PROP_REPOSITORY_URI);
IdFactory idFactory = IdFactoryImpl.getInstance();
NameFactory nFactory = NameFactoryImpl.getInstance();
PathFactory pFactory = PathFactoryImpl.getInstance();
QValueFactory vFactory = QValueFactoryImpl.getInstance();
service = new RepositoryServiceImpl(uri, idFactory, nFactory, pFactory, vFactory);
}
return service;
}