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