public static class ServiceName.Literal extends AbstractNamedLiteral<ServiceName> implements ServiceName
ServiceName annotation.| Modifier and Type | Class and Description |
|---|---|
static interface |
io.micronaut.coherence.annotation.AnnotationLiteral.NoType |
ServiceName.Literalf_sName| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
Method returns the type of the annotation literal.
|
static ServiceName.Literal |
of(java.lang.String sName)
Create a
ServiceName.Literal. |
java.lang.String |
value()
The name used to identify a specific service.
|
equals, hashCodepublic static ServiceName.Literal of(java.lang.String sName)
ServiceName.Literal.sName - the service nameServiceName.Literal with the specified valuepublic java.lang.String value()
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType in interface java.lang.annotation.Annotation