Registers or unregisters the endpoints of an object adapter.
- Parameters
-
id | The adapter ID. |
proxy | A dummy proxy created by the object adapter. proxy carries the object adapter's endpoints. The locator considers an object adapter to be active after it has registered its endpoints. When proxy is null, the endpoints are unregistered and the locator considers the object adapter inactive. |
response | The response callback. |
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |
- Returns
- A function that can be called to cancel the invocation locally.