org.gcube.application.framework.userprofiles.cache.factories
Class ProfileCacheEntryFactory
java.lang.Object
org.gcube.application.framework.userprofiles.cache.factories.ProfileCacheEntryFactory
- All Implemented Interfaces:
- net.sf.ehcache.constructs.blocking.CacheEntryFactory
public class ProfileCacheEntryFactory
- extends Object
- implements net.sf.ehcache.constructs.blocking.CacheEntryFactory
- Author:
- Rena - NKUA
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dfactory
protected static final DocumentBuilderFactory dfactory
- Document factory instance
profileId
protected static AtomicInteger profileId
- An atomic integer to get the Profile EPRs round-robin
logger
protected final org.gcube.common.core.utils.logging.GCUBELog logger
- Object logger.
ProfileCacheEntryFactory
public ProfileCacheEntryFactory()
createEntry
public Object createEntry(Object key)
throws Exception
- Specified by:
createEntry in interface net.sf.ehcache.constructs.blocking.CacheEntryFactory
- Parameters:
key - a QueryString representing pairs of keys and values. Needed keys are: "vre", "username"
- Returns:
- the user profile as a DOM object (Document)
- Throws:
Exception
Copyright © 2013. All Rights Reserved.