/** * A CacheInterceptor is an adaptor that when overridden and assigned to a Descriptor all interaction * between EclipseLink and the internal cache for that class will pass through the Interceptor. * Advanced users could use this interceptor to audit, profile or log cache access. This Interceptor * could also be used to redirect or augment the TopLink cache with an alternate cache mechanism. * EclipseLink's configurated IdentityMaps will be passed to the Interceptor constructor. * * As with IdentityMaps an entire class inheritance hierarchy will share the same interceptor. * @see org.eclipse.persistence.sessions.interceptors.CacheInterceptor */ public String getCacheInterceptorClassName() { return getCachePolicy().getCacheInterceptorClassName(); }
/** * A CacheInterceptor is an adaptor that when overridden and assigned to a Descriptor all interaction * between EclipseLink and the internal cache for that class will pass through the Interceptor. * Advanced users could use this interceptor to audit, profile or log cache access. This Interceptor * could also be used to redirect or augment the TopLink cache with an alternate cache mechanism. * EclipseLink's configurated IdentityMaps will be passed to the Interceptor constructor. * * As with IdentityMaps an entire class inheritance hierarchy will share the same interceptor. * @see org.eclipse.persistence.sessions.interceptors.CacheInterceptor */ public String getCacheInterceptorClassName() { return getCachePolicy().getCacheInterceptorClassName(); }