add abstract method

Object? add(
  1. Object servant,
  2. Identity id
)

Add a servant to this object adapter's Active Servant Map. Note that one servant can implement several Ice objects by registering the servant with multiple identities. Adding a servant with an identity that is in the map already throws {@link AlreadyRegisteredException}.

@param servant The servant to add.

@param id The identity of the Ice object that is implemented by the servant.

@return A proxy that matches the given identity and this object adapter.

@see Identity @see #addFacet @see #addWithUUID @see #remove @see #find

Implementation

Object? add(Object servant, Identity id);