public interface ResourceExtensionsManager
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourceExtensionsManager.MethodParameters
Method Parameters declare the parameters accepted
by the Resource Services extension.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteServices(String resourceName)
Uninstalls the services that implement a resource.
|
<T extends StructureReadHandle> |
listServices(T listHandle)
Reads the list of resource service extensions installed on the server.
|
<T extends TextReadHandle> |
readServices(String resourceName,
T sourceHandle)
Reads the XQuery implementation of the services for a resource.
|
void |
startLogging(RequestLogger logger)
Starts debugging client requests.
|
void |
stopLogging()
Stops debugging client requests.
|
void |
writeServices(String resourceName,
TextWriteHandle sourceHandle,
ExtensionMetadata metadata,
ResourceExtensionsManager.MethodParameters... methodParams)
Installs the services that implement a resource.
|
<T extends StructureReadHandle> T listServices(T listHandle)
listHandle - a handle on a JSON or XML representation of the list<T extends TextReadHandle> T readServices(String resourceName, T sourceHandle)
resourceName - the name of the resourcesourceHandle - a handle for reading the text of the XQuery implementation.void writeServices(String resourceName, TextWriteHandle sourceHandle, ExtensionMetadata metadata, ResourceExtensionsManager.MethodParameters... methodParams)
resourceName - the name of the resourcesourceHandle - a handle on the source for the XQuery implementationmetadata - the metadata about the resource servicesmethodParams - a declaration of the parameters for the servicesvoid deleteServices(String resourceName)
resourceName - the name of the resourcevoid startLogging(RequestLogger logger)
logger - the logger that receives debugging outputvoid stopLogging()
Copyright © 2013-2014 MarkLogic Corporation.