|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Scopes>
org.infinispan.factories.scopes.Scopes
public enum Scopes
The different scopes that can be declared for a component in the cache system. If components are not bounded to a
specific scope explicitly, then it defaults to the NAMED_CACHE
scope.
Scope
Enum Constant Summary | |
---|---|
GLOBAL
Components bounded to this scope can only be created by a DefaultCacheManager and exist in
the DefaultCacheManager 's ComponentRegistry . |
|
NAMED_CACHE
Components bounded to this scope can only be created by a Cache and exist in the Cache 's ComponentRegistry . |
Method Summary | |
---|---|
static Scopes |
getDefaultScope()
|
static Scopes |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Scopes[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Scopes GLOBAL
DefaultCacheManager
and exist in
the DefaultCacheManager
's ComponentRegistry
.
public static final Scopes NAMED_CACHE
Cache
and exist in the Cache
's ComponentRegistry
.
Method Detail |
---|
public static Scopes[] values()
for (Scopes c : Scopes.values()) System.out.println(c);
public static Scopes valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Scopes getDefaultScope()
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |