Package org.eclipse.emf.cdo.view
Interface CDOStaleReferencePolicy
- 
- All Known Implementing Classes:
- CDOStaleReferencePolicy.DynamicProxy,- CDOStaleReferencePolicy.DynamicProxy.Enhanced
 
 public interface CDOStaleReferencePolicySpecifies a policy on how to deal with stale references.- Since:
- 3.0
- Author:
- Simon McDuff
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classCDOStaleReferencePolicy.DynamicProxyAstale reference policythat providesJava dynamic proxieswhen stale references are aceessed.
 - 
Field SummaryFields Modifier and Type Field Description static CDOStaleReferencePolicyDEFAULTstatic CDOStaleReferencePolicyEXCEPTIONA stale reference policy that throws anObjectNotFoundExceptioneach time.static CDOStaleReferencePolicyPROXYA stale reference policy that returns dynamic Java proxies with the appropriate EClasses.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectprocessStaleReference(org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, int index, CDOID target)Returns an object that we want to return to the caller (clients).
 
- 
- 
- 
Field Detail- 
EXCEPTIONstatic final CDOStaleReferencePolicy EXCEPTION A stale reference policy that throws anObjectNotFoundExceptioneach time.
 - 
PROXYstatic final CDOStaleReferencePolicy PROXY A stale reference policy that returns dynamic Java proxies with the appropriate EClasses.
 - 
DEFAULTstatic final CDOStaleReferencePolicy DEFAULT - Since:
- 4.2
 
 
- 
 - 
Method Detail- 
processStaleReferencejava.lang.Object processStaleReference(org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, int index, CDOID target)Returns an object that we want to return to the caller (clients). Exception thrown will be received by the caller (clients).
 
- 
 
-