Package com.oracle.coherence.cdi.events
Class ScopeName.Literal
- java.lang.Object
-
- com.oracle.coherence.cdi.AnnotationLiteral<ScopeName>
-
- com.oracle.coherence.cdi.events.ScopeName.Literal
-
- All Implemented Interfaces:
Annotation
- Enclosing class:
- ScopeName
public static class ScopeName.Literal extends AnnotationLiteral<ScopeName> implements ScopeName
An annotation literal for theScopeName
annotation.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.coherence.cdi.events.ScopeName
ScopeName.Literal
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScopeName.Literal
of(String sName)
Create aScopeName.Literal
.String
value()
The name used to identify a specific scope.-
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 ScopeName.Literal of(String sName)
Create aScopeName.Literal
.- Parameters:
sName
- the scope name- Returns:
- a
ScopeName.Literal
with the specified value
-
value
public String value()
The name used to identify a specific scope.- Returns:
- the name used to identify a specific scope
-
-