com.marklogic.xcc.ModuleSpawn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmlcalabash-extension-stubs Show documentation
Show all versions of xmlcalabash-extension-stubs Show documentation
This artifact defines API stubs for compiling extension classes.
The newest version!
package com.marklogic.xcc;
/**
* An extension of {@link Request} that contains the URI of an XQuery module
* (resident server-side) to be spawned asynchronously by the MarkLogic Server.
*
* @see
* Interface ModuleSpawn
*/
public interface ModuleSpawn extends Request {
/**
* Replace the URI associated with this {@link Request}, which specifies an
* XQuery module (server-side code) to be spawned (run asynchronously) on
* the server.
*
* @param uri A {@link String} that represents the URI of a text document
* known to the server which is an XQuery module.
*/
void setModuleUri(String uri);
/**
* Returns the currently set URI for this {@link Request}.
*
* @return The URI, as a {@link String}, of a module to invoke upon the next
* invocation of {@link Session#submitRequest(Request)}.
*/
String getModuleUri();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy