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