Make LoadListener.afterRefresh() work.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2007-11-19 15:48:28 +00:00
parent 02f0a83dde
commit 3ebf5a9a07
1 changed files with 3 additions and 1 deletions

View File

@ -568,8 +568,10 @@ public class LifecycleEventManager
types |= 2 << LifecycleEvent.BEFORE_DIRTY_FLUSHED;
types |= 2 << LifecycleEvent.AFTER_DIRTY_FLUSHED;
}
if (listener instanceof LoadListener)
if (listener instanceof LoadListener) {
types |= 2 << LifecycleEvent.AFTER_LOAD;
types |= 2 << LifecycleEvent.AFTER_REFRESH;
}
if (listener instanceof StoreListener) {
types |= 2 << LifecycleEvent.BEFORE_STORE;
types |= 2 << LifecycleEvent.AFTER_STORE;