org.planx.xmlstore
Interface ExecXMLStore<R extends Reference>
- All Superinterfaces:
- XMLStore<R>
- All Known Implementing Classes:
- DistributedXMLStore, ExecuteXMLStore, OptimisticReadXMLStore, RemoteXMLStore, TranslatorXMLStore
public interface ExecXMLStore<R extends Reference>
- extends XMLStore<R>
An ExecXMLStore adds the ability to execute code (stored
in the XML Store) to an XML Store. The stored code should
implement the StoredCode interface.
- Author:
- Omar Sharif, Mustafa Temiz, Henning Niss
|
Method Summary |
R |
exec(R codeRef,
R argsRef)
Execute the code referenced by codeRef supplied
with the argument reference by argsRef. |
exec
R exec(R codeRef,
R argsRef)
throws IOException,
ExecException
- Execute the code referenced by
codeRef supplied
with the argument reference by argsRef. Returns
a reference to the result of the execution.
- Parameters:
codeRef - the Reference to a
binary node containing class code implementing StoredCodeargsRef - reference to arguments
- Returns:
- a reference to the result
- Throws:
IOException - if an error occurs during loading of code or arguments
ExecException
Copyright © 2004-2005 Plan-X. All Rights Reserved.