Adds a servant to this object adapter's Active Servant Map (ASM). The ASM is a map {identity, facet} -> servant.
A proxy with the given id, created by this object adapter.
Adds a default servant to handle requests for a specific category. When an object adapter dispatches an incoming request, it tries to find a servant for the identity and facet carried by the request in the following order:
The default servant to add.
The category for which the default servant is registered. The empty category means it will handle all categories.
AlreadyRegisteredException Thrown when a default servant with the same category is already registered.
Adds a servant to this object adapter's Active Servant Map (ASM), while specifying a facet. The ASM is a map {identity, facet} -> servant.
Calling add(servant, id) is equivalent to calling ObjectAdapter#addFacet with an empty facet.
A proxy with the given id and facet, created by this object adapter.
Adds a servant to this object adapter's Active Servant Map (ASM), using an automatically generated UUID as its identity. Also specifies a facet.
The servant to add.
The facet of the Ice object that is implemented by the servant.
A proxy with the generated UUID identity and the specified facet.
Adds a ServantLocator to this object adapter for a specific category.
The servant locator to add.
The category. The empty category means the locator handles all categories.
AlreadyRegisteredException Thrown when a servant locator with the same category is already registered.
Adds a servant to this object adapter's Active Servant Map (ASM), using an automatically generated UUID as its identity.
The generated UUID identity can be accessed using the ObjectPrx#ice_getIdentity operation.
The servant to add.
A proxy with the generated UUID identity created by this object adapter.
Creates a proxy from an Ice identity. If this object adapter is configured with an adapter ID, the proxy is an indirect proxy that refers to this adapter ID. If a replica group ID is also defined, the proxy is an indirect proxy that refers to this replica group ID. Otherwise, the proxy is a direct proxy containing this object adapter's published endpoints.
The object's identity.
A proxy for the object with the given identity.
Destroys the object adapter and cleans up all resources held by the object adapter.
Find all facets with the given identity in the Active Servant Map.
The identity of the Ice object for which the facets should be returned.
A collection containing all the facet names and servants that have been found, or an empty map if there is no facet for the given identity.
Finds a ServantLocator registered with this object adapter.
The category.
The servant locator, or null if not found.
Looks up a servant with an identity and facet.
The identity of an Ice object.
The facet of an Ice object. An empty facet means the default facet.
The servant that implements the Ice object with the given identity and facet, or null if no such servant has been found.
Find a Servant Locator installed with this object adapter.
The category for which the Servant Locator can locate servants, or an empty string if the Servant Locator does not belong to any specific category.
The Servant Locator, or null if no Servant Locator was found for the given category.
Get the communicator this object adapter belongs to.
This object adapter's communicator.
Gets the set of endpoints configured on this object adapter.
The set of endpoints.
Get the name of this object adapter.
This object adapter's name.
Removes a servant from the object adapter's Active Servant Map.
The identity of the Ice object that is implemented by the servant.
The removed servant.
NotRegisteredException Thrown when no servant with the given identity is registered.
Removes all facets with the given identity from the Active Servant Map. The function completely removes the Ice object, including its default facet.
The identity of the Ice object to be removed.
A collection containing all the facet names and servants of the removed Ice object.
NotRegisteredException Thrown when no servant with the given identity is registered.
Removes the default servant for a specific category.
The category of the default servant to remove.
The default servant.
NotRegisteredException Thrown when no default servant is registered for the given category.
Removes a servant from the object adapter's Active Servant Map, while specifying a facet.
The identity of the Ice object that is implemented by the servant.
The facet. An empty facet means the default facet.
The removed servant.
NotRegisteredException Thrown when no servant with the given identity and facet is registered.
Removes a ServantLocator from this object adapter.
The category.
The servant locator.
NotRegisteredExceptionThrown when no ServantLocator with the given category is registered.
Sets the endpoints that proxies created by this object adapter will contain.
The new set of endpoints that the object adapter will embed in proxies.
Adds a middleware to the dispatch pipeline of this object adapter.
The middleware factory that creates the new middleware when this object adapter creates its dispatch pipeline. A middleware factory is a function that takes an Object (the next element in the dispatch pipeline) and returns a new Object (the middleware you want to install in the pipeline).
This object adapter.
An object adapter is the main server-side Ice API. It has two main purposes:
See
Communicator#createObjectAdapter