Class SessionName.Literal
java.lang.Object
io.micronaut.coherence.annotation.AbstractNamedLiteral<SessionName>
io.micronaut.coherence.annotation.SessionName.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
- SessionName
public static final class SessionName.Literal
extends AbstractNamedLiteral<SessionName>
implements SessionName
An annotation literal for the
SessionName
annotation.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.micronaut.coherence.annotation.SessionName
SessionName.Literal
-
Field Summary
Fields inherited from class io.micronaut.coherence.annotation.AbstractNamedLiteral
f_sName
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
Method returns the type of the annotation literal.static SessionName.Literal
Create aSessionName.Literal
.value()
The name used to identify a specific session.Methods inherited from class io.micronaut.coherence.annotation.AbstractNamedLiteral
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
toString
-
Method Details
-
of
Create aSessionName.Literal
.- Parameters:
sName
- the session name- Returns:
- a
SessionName.Literal
with the specified value
-
value
The name used to identify a specific session.- Returns:
- the name used to identify a specific session
-
annotationType
Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.- Specified by:
annotationType
in interfaceAnnotation
- Returns:
- annotation type of this literal.
-