org.hibernate.spatial.helper
Interface FinderStrategy<T,S>

Type Parameters:
T - the return type of the find method
S - the type of subject
All Known Subinterfaces:
ConnectionFinder
All Known Implementing Classes:
DefaultConnectionFinder

public interface FinderStrategy<T,S>

A FinderStrategy is used to find a specific feature. It is useful in cases where reflection is used to determine some property of a class.


Method Summary
 T find(S subject)
          Find a feature or property of a subject
 

Method Detail

find

T find(S subject)
       throws FinderException
Find a feature or property of a subject

Parameters:
subject - the object that is being searched
Returns:
the object sought
Throws:
FinderException - thrown when the feature can be found;