Package ch.entwine.weblounge.cache

Examples of ch.entwine.weblounge.cache.CacheService


    ServiceRegistration registration = services.remove(pid);
    if (registration == null) {
      logger.debug("Cache service with pid '{}' was never registered and can therefore not be deleted", pid);
      return;
    }
    CacheService cache = (CacheService) bundleCtx.getService(registration.getReference());
    try {
      registration.unregister();
    } catch (IllegalStateException e) {
      // Never mind, the service has been unregistered already
    } catch (Throwable t) {
      logger.error("Unregistering cache service failed: {}", t.getMessage());
    }
    cache.shutdown();
  }
View Full Code Here

TOP

Related Classes of ch.entwine.weblounge.cache.CacheService

Copyright © 2018 www.massapicom. 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.