|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.p13n.cache.spi.CacheProvider
com.bea.p13n.cache.P13nCacheProvider
public class P13nCacheProvider
Default CacheProvider implementation.
This class should not be created or used directly. All caches should be obtained
from the CacheFactory.
| Field Summary | |
|---|---|
static String |
ID
Provider id, "com.bea.p13n" |
| Constructor Summary | |
|---|---|
P13nCacheProvider()
|
|
| Method Summary | |
|---|---|
Cache |
getCache(String cacheName,
CacheConfig config)
Return a Cache instance for the given name. |
String |
getProviderId()
Name or identity of this provider. |
String |
getVendorInfo()
Returns the name of the organization, vendor, or company that provided this implementation. |
String |
getVersionString()
Return the version of this Cache provider implementation. |
void |
init()
Initialize the CacheProvider. |
| Methods inherited from class com.bea.p13n.cache.spi.CacheProvider |
|---|
flushCache, flushKeys, getScopeIdentifier, release, releaseCache, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ID
| Constructor Detail |
|---|
public P13nCacheProvider()
| Method Detail |
|---|
public void init()
CacheProviderThis default implementation does nothing.
init in class CacheProvider
public Cache getCache(String cacheName,
CacheConfig config)
Cache instance for the given name.
If a p13n cache has already been created via the CacheFactory
then that existing cache is returned. Otherwise, this creates a
new cache instance using the specified configuration object.
getCache in class CacheProvidercacheName - the name of the Cache to returnconfig - suggested Cache configuration that may
be used by the CacheProvider to configure the returned
Cache; this may be ignored by the CacheProvider
public String getProviderId()
CacheProvider
getProviderId in class CacheProviderpublic String getVendorInfo()
CacheProvider
getVendorInfo in class CacheProviderpublic String getVersionString()
CacheProvider
getVersionString in class CacheProvider
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||