An object adapter is an instance of the local interface ObjectAdapter. You create an object adapter by calling one of several operations on a communicator:

{zcode:slice}
module Ice {
    local interface ObjectAdapter {
        string getName();
        Communicator getCommunicator();

        // ...
    };

    local interface Communicator {
        ObjectAdapter createObjectAdapter(string name);
        ObjectAdapter createObjectAdapterWithEndpoints(string name, string endpoints);
        ObjectAdapter createObjectAdapterWithRouter(string name, Router* rtr);

        // ...
    };
};
{zcode}

The ObjectAdapter operations behave as follows:

Note that there are other operations in the ObjectAdapter interface; we will explore these throughout the remainder of this discussion.

See Also