...
This section explains how to write the Spin plug-in used to implement a query and provides client code that can be used to perform this query remotely.
Resources
- Spin sources: httpshttp://scm.chip.org/svn/repos/spin/base/trunk/
- Example Spin extension in Java and Scala: httpshttp://scm.chip.org/svn/repos/spin/base/trunk/examples
...
Code Block |
---|
public interface QueryAction<Criteria> { String perform(final QueryContext context, final Criteria criteria) throws QueryException; Criteria unmarshal(final String serializedCriteria) throws SerializationException; boolean isReady(); void destroy(); } |
...