|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ProductType - the type of objects produced by this resolverCriteriaType - the type of criteria to process during resolutionpublic interface Resolver<ProductType,CriteriaType>
Generic interface for resolvers which process specified criteria and produce some implementation-specific result information.
| Method Summary | |
|---|---|
Iterable<ProductType> |
resolve(CriteriaType criteria)
Process the specified criteria and return the resulting instances the the product type which satisfy the criteria. |
ProductType |
resolveSingle(CriteriaType criteria)
Process the specified criteria and return a single instance of the product type which satisfies the criteria. |
| Method Detail |
|---|
@Nonnull
Iterable<ProductType> resolve(@Nullable
CriteriaType criteria)
throws ResolverException
criteria - the criteria to evaluate or process
ResolverException - thrown if there is an error processing the specified criteria
@Nullable
ProductType resolveSingle(@Nullable
CriteriaType criteria)
throws ResolverException
criteria - the criteria to evaluate or process
ResolverException - thrown if there is an error processing the specified criteria
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||