Class ScopeName.Literal
java.lang.Object
io.micronaut.coherence.annotation.AbstractNamedLiteral<ScopeName>
io.micronaut.coherence.annotation.ScopeName.Literal
- All Implemented Interfaces:
- Annotation
- Enclosing class:
- ScopeName
public static final class ScopeName.Literal
extends AbstractNamedLiteral<ScopeName>
implements ScopeName
An annotation literal for the 
ScopeName annotation.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.micronaut.coherence.annotation.ScopeNameScopeName.Literal
- 
Field SummaryFields inherited from class io.micronaut.coherence.annotation.AbstractNamedLiteralf_sName
- 
Method SummaryModifier and TypeMethodDescriptionClass<? extends Annotation>Method returns the type of the annotation literal.static ScopeName.LiteralCreate aScopeName.Literal.value()The name used to identify a specific scope.Methods inherited from class io.micronaut.coherence.annotation.AbstractNamedLiteralequals, hashCodeMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.annotation.AnnotationtoString
- 
Method Details- 
ofCreate aScopeName.Literal.- Parameters:
- sName- the scope name
- Returns:
- a ScopeName.Literalwith the specified value
 
- 
valueThe name used to identify a specific scope.- Returns:
- the name used to identify a specific scope
 
- 
annotationTypeMethod returns the type of the annotation literal. The value is resolved lazily during the first call of this method.- Specified by:
- annotationTypein interface- Annotation
- Returns:
- annotation type of this literal.
 
 
-