Package javax.cache.annotation
Interface CacheInvocationParameter
-
public interface CacheInvocationParameter
A parameter to an intercepted method invocation. Contains the parameter value as well static type and annotation information about the parameter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.lang.annotation.Annotation>
getAnnotations()
int
getParameterPosition()
The index of the parameter in the original parameter array as returned byCacheInvocationContext.getAllParameters()
java.lang.Class<?>
getRawType()
The parameter type as declared on the method.java.lang.Object
getValue()
-
-
-
Method Detail
-
getRawType
java.lang.Class<?> getRawType()
The parameter type as declared on the method.
-
getValue
java.lang.Object getValue()
- Returns:
- The parameter value
-
getAnnotations
java.util.Set<java.lang.annotation.Annotation> getAnnotations()
- Returns:
- An immutable Set of all Annotations on this method parameter, never null.
-
getParameterPosition
int getParameterPosition()
The index of the parameter in the original parameter array as returned byCacheInvocationContext.getAllParameters()
- Returns:
- The index of the parameter in the original parameter array.
-
-