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 theSubscriberGroup
annotation.- 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.Literal
of(java.lang.String sName)
Create aSubscriberGroup.Literal
.java.lang.String
value()
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.Literal
with 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:
annotationType
in interfacejava.lang.annotation.Annotation
- Returns:
- annotation type of this literal.
-
-