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 theServiceNameannotation.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.coherence.cdi.events.ServiceName
ServiceName.Literal
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceName.Literalof(String sName)Create aServiceName.Literal.Stringvalue()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
annotationType, equals, hashCode, toString
-
-
-
-
Method Detail
-
of
public static ServiceName.Literal of(String sName)
Create aServiceName.Literal.- Parameters:
sName- the service name- Returns:
- a
ServiceName.Literalwith the specified value
-
value
public String value()
The name used to identify a specific service.- Returns:
- the name used to identify a specific service
-
-