Author: chris.laprun(a)jboss.com
Date: 2008-09-30 12:34:42 -0400 (Tue, 30 Sep 2008)
New Revision: 12003
Modified:
branches/JBoss_Portal_Branch_2_7/wsrp/src/main/org/jboss/portal/wsrp/consumer/RegistrationInfoPostLoadEventListener.java
Log:
- Made listener extend default one. Seems to be properly called now.
Modified:
branches/JBoss_Portal_Branch_2_7/wsrp/src/main/org/jboss/portal/wsrp/consumer/RegistrationInfoPostLoadEventListener.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/wsrp/src/main/org/jboss/portal/wsrp/consumer/RegistrationInfoPostLoadEventListener.java 2008-09-29
16:05:47 UTC (rev 12002)
+++
branches/JBoss_Portal_Branch_2_7/wsrp/src/main/org/jboss/portal/wsrp/consumer/RegistrationInfoPostLoadEventListener.java 2008-09-30
16:34:42 UTC (rev 12003)
@@ -23,13 +23,13 @@
package org.jboss.portal.wsrp.consumer;
import org.hibernate.event.PostLoadEvent;
-import org.hibernate.event.PostLoadEventListener;
+import org.hibernate.event.def.DefaultPostLoadEventListener;
/**
* @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
* @version $Revision$
*/
-public class RegistrationInfoPostLoadEventListener implements PostLoadEventListener
+public class RegistrationInfoPostLoadEventListener extends DefaultPostLoadEventListener
{
/**
* Once the object is loaded from Hibernate, greedily load the associated
RegistrationProperties and register with
@@ -49,5 +49,7 @@
property.setListener(info);
}
}
+
+ super.onPostLoad(event);
}
}
Show replies by date