How can I remove an Endpoint from an Adapter?and...?

in Help Center
How can I remove an Endpoint from an Adapter?And how can I remove an Adapter form an communication and destroy it?
when I bind an Endpoint to an Adapter,The Adater keep listening to the port.
I have no idea of how to stop this listening,or remove the Endpoint form it;
even if I deactivate the Adapter,it still keep the port in his listening.And also I have no idea of how to remove the Adapter form the communication and destroy it --stop it from listening to the port so I can make it use by the other adapter.
thanks for help me to know how to do it in Ice. If there is no way.I strongly
comment adding these function in the later release of ICE.
when I bind an Endpoint to an Adapter,The Adater keep listening to the port.
I have no idea of how to stop this listening,or remove the Endpoint form it;
even if I deactivate the Adapter,it still keep the port in his listening.And also I have no idea of how to remove the Adapter form the communication and destroy it --stop it from listening to the port so I can make it use by the other adapter.
thanks for help me to know how to do it in Ice. If there is no way.I strongly
comment adding these function in the later release of ICE.

0
Comments
You cannot remove endpoints from an object adapter. You can only deactivate the object adapter completely, with all its endpoints.
It stop listening to the port.I made a mistake.
But I still can't remove the unuse Adapter form the commnunicotor's hash table ?
Why do you want to remove an object adapter in the first place? This is rather unusual. Normally, you create an OA once, and keep it for as long as your server runs.