BatchManager
,
DocumentSplitter
,
JavascriptResourceExtension.HelloWorld
,
ResourceExtension.DictionaryManager
,
SearchCollector
public abstract class ResourceManager
extends com.marklogic.client.impl.ResourceManagerImplementation
ResourceExtensionsManager
.
Initialize a ResourceManager object by passing it to the DatabaseClient
.init()
method.
To expose the services provided by a resource service extension
to applications, implement a subclass of ResourceManager. In your
subclass, use the methods of a ResourceServices
object to call the Resource Services on the server.
Obtain a ResourceServices
object by calling the protected getServices
method of
the ResourceManager. This method has the following signature:
ResourceServices
getServices()
Modifier | Constructor | Description |
---|---|---|
protected |
ResourceManager() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getName() |
Returns the name of the resource.
|
void |
startLogging(RequestLogger logger) |
Starts debugging client requests.
|
void |
stopLogging() |
Stops debugging client requests.
|
public java.lang.String getName()
public void startLogging(RequestLogger logger)
logger
- the logger that receives debugging
outputpublic void stopLogging()
Copyright © 2013-2019 MarkLogic Corporation.