EclipseLink1.0 - 20080707 API Reference

org.eclipse.persistence.annotations
Annotation Type CacheInterceptor


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface CacheInterceptor

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.

See Also:
CacheInterceptor
Author:
Gordon Yorke
Since:
EclipseLink 1.0

Required Element Summary
 java.lang.Class interceptorClass
          The Class that will be used to intercept EclipseLink's cache access.
 

Element Detail

interceptorClass

public abstract java.lang.Class interceptorClass
The Class that will be used to intercept EclipseLink's cache access.


EclipseLink1.0 - 20080707 API Reference