ch.elca.el4j.services.persistence.jpa.dao.extentstrategies
Interface ExtentFetcher

All Known Implementing Classes:
HibernateExtentFetcher

public interface ExtentFetcher

Strategy interface for fetching extents. Injected into GenericJpaDao by JpaExtentFetcherInjectorBeanPostProcessor.

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

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.
 

Method Detail

fetchExtentObject

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.

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.