org.compass.gps.device.hibernate.entities
Interface HibernateEntitiesLocator
- All Known Implementing Classes:
- DefaultHibernateEntitiesLocator
public interface HibernateEntitiesLocator
Resposible for locating entities for the index process. Most of the times the DefaultHibernateEntitiesLocator
should suffice, but this interface allows for pluggable strategies for finding indexable entities.
- Author:
- kimchy
locate
EntityInformation[] locate(SessionFactory sessionFactory,
HibernateGpsDevice device)
throws HibernateGpsDeviceException
- Locates the entities used for the index operation.
- Parameters:
sessionFactory - The SessionFactory to be optionally used for locating the entities.device - The Hibernate device that called this locator.
- Returns:
- An array of the enteties that need to be indexed during the index operation.
- Throws:
HibernateGpsDeviceException
Copyright (c) 2004-2008 The Compass Project.