Class SubscriberGroup.Literal
- java.lang.Object
-
- io.micronaut.coherence.annotation.AbstractNamedLiteral<SubscriberGroup>
-
- io.micronaut.coherence.annotation.SubscriberGroup.Literal
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
- Enclosing class:
- SubscriberGroup
public static class SubscriberGroup.Literal extends AbstractNamedLiteral<SubscriberGroup> implements SubscriberGroup
An annotation literal for theSubscriberGroupannotation.- See Also:
- Serialized Form
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends java.lang.annotation.Annotation>annotationType()Method returns the type of the annotation literal.static SubscriberGroup.Literalof(java.lang.String sName)Create aSubscriberGroup.Literal.java.lang.Stringvalue()The name of the subscriber group.-
Methods inherited from class io.micronaut.coherence.annotation.AbstractNamedLiteral
equals, hashCode
-
-
-
-
Method Detail
-
of
public static SubscriberGroup.Literal of(java.lang.String sName)
Create aSubscriberGroup.Literal.- Parameters:
sName- the name of the subscriber group- Returns:
- a
SubscriberGroup.Literalwith the specified value
-
value
public java.lang.String value()
The name of the subscriber group.- Returns:
- the name of the subscriber group
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.- Specified by:
annotationTypein interfacejava.lang.annotation.Annotation- Returns:
- annotation type of this literal.
-
-