public static class Scope.Literal extends java.lang.Object implements Scope
Scope
annotation.Scope.Literal
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
Method returns the type of the annotation literal.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
static Scope.Literal |
of(java.lang.String sValue)
Create a
Scope.Literal . |
java.lang.String |
value()
Obtain the name value.
|
public static Scope.Literal of(java.lang.String sValue)
Scope.Literal
.sValue
- the scope name or URI used to identify a specific
ConfigurableCacheFactory
Scope.Literal
with the specified URIpublic java.lang.String value()
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType
in interface java.lang.annotation.Annotation
public boolean equals(java.lang.Object other)
equals
in interface java.lang.annotation.Annotation
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.lang.annotation.Annotation
hashCode
in class java.lang.Object