Initializes a handle registry with the default
associations between the content handles provided by the API and
the supported IO representation classes.
Specifies the database for clients created with
a DatabaseClientFactory.Bean object. A data service interface can
only call an endpoint for the configured content database of the
appserver. You cannot specify the database when constructing a
client for working with a data service.
Parameters:
database - a database to pass along to new
DocumentManager and QueryManager instances
Returns the registry for associating IO
representation classes with handle factories.
Returns:
the registry instance
clearHandleRegistry
publicvoidclearHandleRegistry()
Removes the current registered associations so
the handle registry is empty.
registerDefaultHandles
publicvoidregisterDefaultHandles()
Initializes a handle registry with the default
associations between the content handles provided by the API and
the supported IO representation classes. Use this method only after
clearing or overwriting associations in the handle registry.
Creates a client for bean applications based on
the properties. Other applications can use the static newClient()
factory methods of DatabaseClientFactory. The client accesses the
database by means of a REST server.
Returns:
a new client for making database requests
Copyright (c) 2010-2026 Progress
Software Corporation and/or its subsidiaries or affiliates. All
Rights Reserved.