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.- Since:
- 1.0
- Author:
- Jonathan Knight
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class SubscriberGroup
SubscriberGroup.Literal -
Field Summary
Fields inherited from class 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 AbstractNamedLiteral
equals, hashCodeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Annotation
toString
-
Method Details
-
of
Create aSubscriberGroup.Literal.- Parameters:
sName- the name of the subscriber group- Returns:
- a
SubscriberGroup.Literalwith the specified value
-
value
-
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.
-