Package org.eclipse.emf.cdo.view
Interface CDOStaleReferencePolicy
- All Known Implementing Classes:
CDOStaleReferencePolicy.DynamicProxy
,CDOStaleReferencePolicy.DynamicProxy.Enhanced
public interface CDOStaleReferencePolicy
Specifies a policy on how to deal with stale references.
- Since:
- 3.0
- Author:
- Simon McDuff
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Astale reference policy
that providesJava dynamic proxies
when stale references are aceessed. -
Field Summary
Modifier and TypeFieldDescriptionstatic final CDOStaleReferencePolicy
static final CDOStaleReferencePolicy
A stale reference policy that throws anObjectNotFoundException
each time.static final CDOStaleReferencePolicy
A stale reference policy that returns dynamic Java proxies with the appropriate EClasses. -
Method Summary
Modifier and TypeMethodDescriptionprocessStaleReference
(EObject source, EStructuralFeature feature, int index, CDOID target) Returns an object that we want to return to the caller (clients).
-
Field Details
-
EXCEPTION
A stale reference policy that throws anObjectNotFoundException
each time. -
PROXY
A stale reference policy that returns dynamic Java proxies with the appropriate EClasses. -
DEFAULT
- Since:
- 4.2
-
-
Method Details
-
processStaleReference
Returns an object that we want to return to the caller (clients). Exception thrown will be received by the caller (clients).
-