Package com.oracle.coherence.cdi.events
Class CacheName.Literal
- java.lang.Object
-
- com.oracle.coherence.cdi.AnnotationLiteral<CacheName>
-
- com.oracle.coherence.cdi.events.CacheName.Literal
-
- All Implemented Interfaces:
Annotation
- Enclosing class:
- CacheName
public static class CacheName.Literal extends AnnotationLiteral<CacheName> implements CacheName
An annotation literal for theCacheNameannotation.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.coherence.cdi.events.CacheName
CacheName.Literal
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CacheName.Literalof(String sName)Create aCacheName.Literal.Stringvalue()The name used to identify a specific cache.-
Methods inherited from class com.oracle.coherence.cdi.AnnotationLiteral
annotationType, equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
-
-
-
-
Method Detail
-
of
public static CacheName.Literal of(String sName)
Create aCacheName.Literal.- Parameters:
sName- the cache name- Returns:
- a
CacheName.Literalwith the specified value
-
value
public String value()
The name used to identify a specific cache.- Returns:
- the name used to identify a specific cache
-
-