Package ch.entwine.weblounge.common.repository

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


   */
  public void deleted(String pid) {
    ServiceRegistration registration = services.remove(pid);
    ContentRepository repository = (ContentRepository) bundleCtx.getService(registration.getReference());
    try {
      repository.disconnect();
    } catch (ContentRepositoryException e) {
      logger.warn("Error disconnecting repository {}: {}", repository, e.getMessage());
    }
    try {
      registration.unregister();
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.