|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.applications.vprowizards.spring.cache.TokenizerCacheNameResolver
public class TokenizerCacheNameResolver
This class has a no-arg constructor so you can use it as a bean. It is reusable, but not thread safe. To see what kind of formats it can tokenize:TokenizerCacheNameResolverTest. The purpose of this class is to tokenize a cashflush command, where values can be grouped in names paces. Each name space could relate to a kind of cache flush hintCacheFlushHint. There is also support for templates. See:FlushNameTemplateBean
| Constructor Summary | |
|---|---|
TokenizerCacheNameResolver()
|
|
| Method Summary | |
|---|---|
List<String> |
getNames()
Obtain the cache names for the given namespace or those without a namespace (global) |
List<String> |
getNames(String nameSpace)
Obtain the cache names for the given namespace or those without a namespace (global) |
void |
setInput(String input)
set the input string to be tokenized, using the registered tokens. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TokenizerCacheNameResolver()
| Method Detail |
|---|
public List<String> getNames(String nameSpace)
CacheNameResolver
getNames in interface CacheNameResolvernameSpace - this can be some implementation-specific qualifier or null if the implementation
does not need it.
public void setInput(String input)
CacheNameResolver
setInput in interface CacheNameResolverinput - the formatted flushname stringpublic String toString()
toString in class Objectpublic List<String> getNames()
CacheNameResolver
getNames in interface CacheNameResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||