Class SubscriberGroup.Literal
java.lang.Object
io.micronaut.coherence.annotation.AbstractNamedLiteral<SubscriberGroup>
io.micronaut.coherence.annotation.SubscriberGroup.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
- SubscriberGroup
public static final class SubscriberGroup.Literal
extends AbstractNamedLiteral<SubscriberGroup>
implements SubscriberGroup
An annotation literal for the
SubscriberGroup annotation.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.micronaut.coherence.annotation.SubscriberGroup
SubscriberGroup.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 SubscriberGroup.LiteralCreate aSubscriberGroup.Literal.value()The name of the subscriber group.Methods inherited from class io.micronaut.coherence.annotation.AbstractNamedLiteral
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.annotation.Annotation
toString
-
Method Details
-
of
Create aSubscriberGroup.Literal.- Parameters:
sName- the name of the subscriber group- Returns:
- a
SubscriberGroup.Literalwith the specified value
-
value
The name of the subscriber group.- Returns:
- the name of the subscriber group
-
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.
-