|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheFactory
Interface for a cache factory that returns a cache that externally acts like a map. Underlying caches don't have to be a map, but they must be wrapped in the map interface if they do not.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT
Generic default cache that can be used for anything |
static java.lang.String |
PRINCIPAL_CACHE
The cache to be used to hold principals. |
static java.lang.String |
USER_INFO_CACHE
The cache to be used to hold user information. |
Method Summary | |
---|---|
java.util.Map |
getCache()
Method to retrieve a default cache without a name. |
java.util.Map |
getCache(java.lang.String cacheName)
Method to retrieve a cache by name. |
Field Detail |
---|
static final java.lang.String USER_INFO_CACHE
static final java.lang.String PRINCIPAL_CACHE
static final java.lang.String DEFAULT
Method Detail |
---|
java.util.Map getCache(java.lang.String cacheName) throws java.lang.IllegalArgumentException
cacheName
- the name of the cache to retrieve.
java.lang.IllegalArgumentException
java.util.Map getCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |