Package com.oracle.coherence.cdi
Class Name.Literal
- All Implemented Interfaces:
 Annotation
- Enclosing class:
 Name
An annotation literal for the 
Name annotation.- See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.coherence.cdi.Name
Name.Literal - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic Name.LiteralCreate aName.Literal.booleanregex()Returntrueto indicate whether name is a regular expression.value()The name used to identify a specific resource.Methods inherited from class com.oracle.coherence.cdi.AnnotationLiteral
annotationType, equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.annotation.Annotation
toString 
- 
Constructor Details
- 
Literal
ConstructName.Literalinstance.- Parameters:
 sName- the resource namefRegex-trueto indicate whether name is a regular expression
 
 - 
 - 
Method Details
- 
of
Create aName.Literal.- Parameters:
 sName- the resource name- Returns:
 - a 
Name.Literalwith the specified value 
 - 
value
The name used to identify a specific resource.- Returns:
 - the name used to identify a specific resource
 
 - 
regex
public boolean regex()Returntrueto indicate whether name is a regular expression.- Returns:
 trueto indicate whether name is a regular expression
 
 -