|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryDelegate
An interface for delegating query execution.
| Nested Class Summary | |
|---|---|
static interface |
QueryDelegate.Factory
A factory for creating query delegates. |
| Method Summary | |
|---|---|
java.lang.Object |
execute(java.lang.Object target,
java.util.Map<java.lang.String,?> arguments)
Executes the query against the specified target object. |
void |
prepare()
Prepares (e.g., parses) the query for execution. |
| Method Detail |
|---|
void prepare()
throws java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException - in case of failure to prepare (e.g., parse) the
query, usually because of an exception
java.lang.Object execute(java.lang.Object target,
java.util.Map<java.lang.String,?> arguments)
throws java.lang.reflect.InvocationTargetException
target - the object against which to execute the query; must be an instance of the context
with which the delegate was createdarguments - a map of parameter names to values; must correspond to the parameters
with which the delegate was created
java.lang.reflect.InvocationTargetException - in case of failure to execute the
query, usually because of an exception
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||