public abstract class QuerySource extends Object
queries.
 Instances should be registered with the
 QueryFactory in 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 QueryFactory is 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 ClassQuerySource).| Constructor and Description | 
|---|
QuerySource()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract <T> Query<T> | 
lookup(String queryID,
      Parameters parameters)
map the queryID argument to some Query instance (including null). 
 | 
public abstract <T> Query<T> lookup(String queryID, Parameters parameters)
ParametersT - the generic type of the return Query. This is usually provided
            indirectly through the type assignment, e.g. "QueryqueryID - abstract identifier for the sought query.parameters - named parameters for lookup and actual bindings.
                
                
Version: 5.2.3-ice35-b22
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.