Skip to main content
Skip table of contents

Creating an Object Adapter

You create an object adapter by calling createObjectAdapter on your communicator. For example:

python

createObjectAdapter creates a new object adapter associated with this communicator. Each object adapter is associated with zero or more transport endpoints. Typically, an object adapter has a single transport endpoint.

An object adapter can also offer multiple endpoints. If so, these endpoints each lead to the same set of objects and represent alternative means of accessing these objects.

An object adapter can also have no endpoint at all. In that case, the adapter can only be reached via collocated invocations originating from proxies created with the same communicator as the object adapter.

An application normally needs to configure an object adapter with endpoints or a router. Calling createObjectAdapter with a non-empty value for name means the new object adapter will check the communicator's configuration for properties, using its name as prefix, including:

If you want to create an object adapter and specify its endpoints in one shot, call createObjectAdapterWithEndpoints is on your communicator. For example:

python

See Also
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.