public class RegExCacheMapping extends CacheMapping
CacheMapping
that can use a regular expression to
match with a given cache name.m_fFederated
Constructor and Description |
---|
RegExCacheMapping(String sCacheNamePattern,
String sCachingSchemeName)
Construct a
RegExCacheMapping for caches that will use raw types by default. |
Modifier and Type | Method and Description |
---|---|
boolean |
isForName(String sName)
Determines if the
ResourceMapping is for (matches) the specified resource name. |
getCacheNamePattern, getCachingSchemeName, getConfigElementName, getKeyClassName, getValueClassName, isFederated, setFederated, setInternal, setKeyClassName, setValueClassName, usesRawTypes, validateScheme
getEventInterceptorBuilders, getNamePattern, getNameUsing, getParameterResolver, getResourceRegistry, getSchemeName, getSubMappings, getValue, getValue, getWildcardMatch, isInternal, setEventInterceptorBuilders, setParameterResolver, usesWildcard
public RegExCacheMapping(String sCacheNamePattern, String sCachingSchemeName)
RegExCacheMapping
for caches that will use raw types by default.sCacheNamePattern
- the RegEx pattern that maps cache names to caching schemessCachingSchemeName
- the name of the caching scheme to which caches matching this
RegExCacheMapping
will be associatedpublic boolean isForName(String sName)
ResourceMapping
ResourceMapping
is for (matches) the specified resource name.isForName
in class ResourceMapping
sName
- the resource name to check for a matchtrue
if the ResourceMapping
is for the specified resource name,
false
otherwise