Package org.jasig.portal.utils.cache

Examples of org.jasig.portal.utils.cache.CacheKey


   * Get the EntityManagerFactory that this filter should use.
   * @return the EntityManagerFactory to use
   * @see #lookupEntityManagerFactory(OpenEntityManager)
   */
    protected EntityManagerFactory getEntityManagerFactory(OpenEntityManager openEntityManager) {
      final CacheKey key = this.createEntityManagerFactoryKey(openEntityManager);
      EntityManagerFactory emf = this.entityManagerFactories.get(key);
      if (emf == null) {
        emf = this.lookupEntityManagerFactory(openEntityManager);
        this.entityManagerFactories.put(key, emf);
      }
View Full Code Here


            return;
        }
       
        final String entityManagerId = entityManagerIds.getFirst();
        final SimpleCacheEntryTag entityManagerIdTag = new SimpleCacheEntryTag(CACHE_TAG, entityManagerId);
        final CacheKey cacheKey = CacheKey.buildTagged(CACHE_KEY_SOURCE, entityManagerIdTag, entityManagerId, key);
        this.contentCache.put(new Element(cacheKey, value));
    }
View Full Code Here

            return null;
        }
       
        final String entityManagerId = entityManagerIds.getFirst();
        final SimpleCacheEntryTag entityManagerIdTag = new SimpleCacheEntryTag(CACHE_TAG, entityManagerId);
        final CacheKey cacheKey = CacheKey.buildTagged(CACHE_KEY_SOURCE, entityManagerIdTag, entityManagerId, key);
        final Element element = this.contentCache.get(cacheKey);
       
        if (element == null) {
            return null;
        }
View Full Code Here

TOP

Related Classes of org.jasig.portal.utils.cache.CacheKey

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.