Top Description Methods
javax.cache.annotation

public Interface CacheInvocationParameter

Imports
java.lang.annotation.Annotation, java.util.Set

A parameter to an intercepted method invocation. Contains the parameter value as well static type and annotation information about the parameter.
Author
Eric Dalquist

Method Summary

Modifier and TypeMethod and Description
public Set<Annotation>

Returns:

An immutable Set of all Annotations on this method parameter, never null.
getAnnotations
()

public int

Returns:

The index of the parameter in the original parameter array.
getParameterPosition
()

The index of the parameter in the original parameter array as returned by CacheInvocationContext#getAllParameters()

public Class<?>
getRawType()

The parameter type as declared on the method.

public Object

Returns:

The parameter value
getValue
()

Method Detail

getAnnotationsback to summary
public Set<Annotation> getAnnotations()
Returns:Set<Annotation>

An immutable Set of all Annotations on this method parameter, never null.

getParameterPositionback to summary
public int getParameterPosition()

The index of the parameter in the original parameter array as returned by CacheInvocationContext#getAllParameters()

Returns:int

The index of the parameter in the original parameter array.

getRawTypeback to summary
public Class<?> getRawType()

The parameter type as declared on the method.

getValueback to summary
public Object getValue()
Returns:Object

The parameter value