*
*/
public static ICategoryService getCategoryService() throws SimalRepositoryException {
switch (repoType) {
case JENA:
return new JenaCategoryService(getInstance());
case JCR:
// commented out as this code moved to a branch - do we need to remove it yet?
// return new JcrCategoryService(getInstance());
default:
throw new SimalRepositoryException("Attempt to create an unknown repository type");