Package ch.entwine.weblounge.common.repository

Examples of ch.entwine.weblounge.common.repository.ContentRepository.connect()


    // Look for content repositories
    ContentRepository repository = repositoriesBySite.get(site.getIdentifier());
    if (repository != null && site.getContentRepository() == null) {
      try {
        repository.connect(site);
        site.setContentRepository(repository);
        logger.info("Site '{}' connected to content repository at {}", site, repository);
      } catch (ContentRepositoryException e) {
        logger.warn("Error connecting content repository " + repository + " to site '" + site + "'", e);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.