Package com.oracle.coherence.cdi.events
Class ServiceName.Literal
java.lang.Object
com.oracle.coherence.cdi.AnnotationLiteral<ServiceName>
com.oracle.coherence.cdi.events.ServiceName.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
ServiceName
public static class ServiceName.Literal
extends AnnotationLiteral<ServiceName>
implements ServiceName
An annotation literal for the
ServiceName
annotation.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.coherence.cdi.events.ServiceName
ServiceName.Literal
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceName.Literal
Create aServiceName.Literal
.value()
The name used to identify a specific service.Methods inherited from class com.oracle.coherence.cdi.AnnotationLiteral
annotationType, equals, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.annotation.Annotation
toString
-
Method Details
-
of
Create aServiceName.Literal
.- Parameters:
sName
- the service name- Returns:
- a
ServiceName.Literal
with the specified value
-
value
The name used to identify a specific service.- Returns:
- the name used to identify a specific service
-