1 2 12 package com.versant.core.jdo; 13 14 import com.versant.core.jdo.PMCacheEntryOwnerRef; 15 import com.versant.core.common.State; 16 import com.versant.core.jdo.PCStateMan; 17 import com.versant.core.jdo.PMCacheEntry; 18 import com.versant.core.jdo.*; 19 import com.versant.core.common.Debug; 20 21 import java.lang.ref.WeakReference ; 22 import java.lang.ref.ReferenceQueue ; 23 24 import com.versant.core.common.BindingSupportImpl; 25 26 31 public class WeakCacheEntryRef extends WeakReference implements PMCacheEntryOwnerRef { 32 private PMCacheEntry owner; 33 34 public WeakCacheEntryRef(Object referent, ReferenceQueue q, PMCacheEntry owner) { 35 super(referent, q); 36 this.owner = owner; 37 } 38 39 public PMCacheEntry getOwner() { 40 return owner; 41 } 42 } 43 | Popular Tags |