Class ResourceManager

java.lang.Object
com.marklogic.client.impl.ResourceManagerImplementation
com.marklogic.client.extensions.ResourceManager

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()