ch.elca.el4j.services.persistence.jpa.dao.extentstrategies
Class HibernateExtentFetcher

java.lang.Object
  extended by ch.elca.el4j.services.persistence.jpa.dao.extentstrategies.HibernateExtentFetcher
All Implemented Interfaces:
ExtentFetcher

public class HibernateExtentFetcher
extends Object
implements ExtentFetcher

Extent Fetcher for JPA with underlying Hibernate implementation.

Author:
Simon Stelling (SST)
File-location:
HibernateExtentFetcher
Last check-in date:
2010-12-21 11:08:04 +0100 (Di, 21. Dez 2010) by swismer for revision 4253

Constructor Summary
HibernateExtentFetcher()
           
 
Method Summary
 void fetchExtentObject(Object object, ExtentEntity entity, org.apache.commons.collections.map.ReferenceMap fetchedObjects)
          Sub-method of the extent-based fetching, steps through the entities and calls the required methods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateExtentFetcher

public HibernateExtentFetcher()
Method Detail

fetchExtentObject

public void fetchExtentObject(Object object,
                              ExtentEntity entity,
                              org.apache.commons.collections.map.ReferenceMap fetchedObjects)
                       throws DataAccessException
Sub-method of the extent-based fetching, steps through the entities and calls the required methods. Implementations must be thread-safe.

Specified by:
fetchExtentObject in interface ExtentFetcher
Parameters:
object - the object to load in given extent
entity - the extent entity
fetchedObjects - the HashMap with all the already fetched objects
Throws:
DataAccessException


Copyright © 2005-2011 ELCA. All Rights Reserved.