FileDocCategorySizeDatePackage
DefaultPostLoadEventListener.javaAPI DocHibernate 3.2.5679Mon Aug 08 18:24:44 BST 2005org.hibernate.event.def

DefaultPostLoadEventListener

public class DefaultPostLoadEventListener extends Object implements org.hibernate.event.PostLoadEventListener
Call Lifecycle interface if necessary
author
Gavin King

Fields Summary
Constructors Summary
Methods Summary
public voidonPostLoad(org.hibernate.event.PostLoadEvent event)

		if ( event.getPersister().implementsLifecycle( event.getSession().getEntityMode() ) ) {
			//log.debug( "calling onLoad()" );
			( ( Lifecycle ) event.getEntity() ).onLoad( event.getSession(), event.getId() );
		}