Class Scope.Literal
java.lang.Object
io.micronaut.coherence.annotation.Scope.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
Scope
-
Nested Class Summary
Nested classes/interfaces inherited from class Scope
Scope.Literal -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> Method returns the type of the annotation literal.booleaninthashCode()static Scope.LiteralCreate aScope.Literal.value()Obtain the name value.Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Annotation
toString
-
Method Details
-
of
Create aScope.Literal.- Parameters:
sValue- the scope name or URI used to identify a specificConfigurableCacheFactory- Returns:
- a
Scope.Literalwith the specified URI
-
value
-
equals
- Specified by:
equalsin interfaceAnnotation
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceAnnotation
-
annotationType
Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.- Specified by:
annotationTypein interfaceAnnotation- Returns:
- annotation type of this literal.
-