public abstract class QuerySource extends Object
queries. Instances should be registered with the
QueryFactoryin the Spring configuration. QuerySources are responsible for mapping the given query ID to a Query instance (possibly dependent on the
Parameters). The order of sources provided to
QueryFactoryis very important. QuerySources can use any mechanism available to perform the lookup, e.g. a database backend, flat-files, the set of Hibernate named-queries, or concrete classes (see
|Constructor and Description|
|Modifier and Type||Method and Description|
map the queryID argument to some Query instance (including null).
T- the generic type of the return Query. This is usually provided indirectly through the type assignment, e.g. "Query
queryID- abstract identifier for the sought query.
parameters- named parameters for lookup and actual bindings.
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.