public abstract class ResourceManager
extends com.marklogic.client.impl.ResourceManagerImplementation
ResourceManager is the base class for a client interface to resource services. Resource Service extensions can be installed on the server using 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 and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the resource.
|
void |
startLogging(RequestLogger logger)
Starts debugging client requests.
|
void |
stopLogging()
Stops debugging client requests.
|
public String getName()
Returns the name of the resource.
public void startLogging(RequestLogger logger)
Starts debugging client requests. You can suspend and resume debugging output using the methods of the logger.
logger - the logger that receives debugging outputpublic void stopLogging()
Stops debugging client requests.
Copyright © 2013-2017 MarkLogic Corporation.