There are four methods to create bindings:
bind creates a binding for a name and an object to create a name context. Name contexts created using bind are not included when compound names are passed for resolution.
rebind creates a binding for a name and an object, even if the name is already bound to an object. Name contexts created using rebind are not included when compound names are passed for resolution.
bind_context binds a name to an existing name context. Name contexts created using bind_context are included when compound names are passed for resolution.
rebind_context binds a name to an existing name context, even if the name is already bound to an object. Name contexts created using rebind_context are included when compound names are passed for resolution.
To remove an object reference from a name context, EAServer uses the unbind function. When you shut down the server, all bound objects are automatically unbound using this function. However, you can also use unbind when you delete a package or component from the repository. If you use persistent name storage, use unbind to remove references to deleted packages and components on the external server.
Copyright © 2005. Sybase Inc. All rights reserved. |