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