Top Description Methods
org.eclipse.persistence.annotations

public @Interface CacheInterceptor

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

A CacheInterceptor can be set on an Entity and allows all EclipseLink cache access to be intercepted by the developer provided interceptor. In the case of inheritance, a CacheInterceptor annotation should only be defined on the root of the inheritance hierarchy.
Author
Gordon Yorke
Since
EclipseLink 1.0
See Also
org.eclipse.persistence.sessions.interceptors.CacheInterceptor

Method Summary

Modifier and TypeMethod and Description
public Class<?>
value()

The Class that will be used to intercept EclipseLink's cache access.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<?> value()

The Class that will be used to intercept EclipseLink's cache access.