|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.portable.ObjectImpl
org.omg.CosNaming._NamingContextStub
This interface provides all functions to bind, rebind and resolve an object into the naming graph.
Constructor Summary | |
_NamingContextStub()
|
Method Summary | |
java.lang.String[] |
_ids()
|
void |
bind_context(NameComponent[] n,
NamingContext nc)
Names an object that is a naming context. |
NamingContext |
bind_new_context(NameComponent[] n)
This operation creates a new context and binds it to the name supplied as an argument. |
void |
bind(NameComponent[] n,
Object obj)
Creates a binding of a name and an object in the naming context. |
void |
destroy()
The destroy operation deletes a naming context. |
void |
list(int how_many,
BindingListHolder bl,
BindingIteratorHolder bi)
The list operation allows a client to iterate through a set of bindings in a naming context. |
NamingContext |
new_context()
This operation returns a naming context implemented by the same naming server as the context on which the operation was invoked. |
void |
rebind_context(NameComponent[] n,
NamingContext nc)
Creates a binding of a name and a naming context in the naming context even if the name is already bound in the context. |
void |
rebind(NameComponent[] n,
Object obj)
Creates a binding of a name and an object in the naming context even if the name is already bound in the context. |
Object |
resolve(NameComponent[] n)
Names can have multiple components; therefore, name resolution can traverse multiple contexts. |
void |
unbind(NameComponent[] n)
The unbind operation removes a name binding from a context. |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
public _NamingContextStub()
Method Detail |
public java.lang.String[] _ids()
_ids
in class ObjectImpl
public void bind(NameComponent[] n, Object obj) throws NotFound, CannotProceed, InvalidName, AlreadyBound
NamingContextOperations
bind
in interface NamingContextOperations
n
- The compound name for the object to bindobj
- The object to bind
NotFound
CannotProceed
InvalidName
AlreadyBound
public void rebind(NameComponent[] n, Object obj) throws NotFound, CannotProceed, InvalidName
NamingContextOperations
rebind
in interface NamingContextOperations
n
- The compound name for the object to rebindobj
- The object to rebind
NotFound
CannotProceed
InvalidName
public void bind_context(NameComponent[] n, NamingContext nc) throws NotFound, CannotProceed, InvalidName, AlreadyBound
NamingContextOperations
bind_context
in interface NamingContextOperations
n
- The compound name for the naming context to bind
NotFound
CannotProceed
InvalidName
AlreadyBound
public void rebind_context(NameComponent[] n, NamingContext nc) throws NotFound, CannotProceed, InvalidName
NamingContextOperations
rebind_context
in interface NamingContextOperations
n
- The compound name for the naming context to rebind
NotFound
CannotProceed
InvalidName
public Object resolve(NameComponent[] n) throws NotFound, CannotProceed, InvalidName
NamingContextOperations
resolve
in interface NamingContextOperations
n
- The compound name for the object to resolve.
NotFound
CannotProceed
InvalidName
public void unbind(NameComponent[] n) throws NotFound, CannotProceed, InvalidName
NamingContextOperations
unbind
in interface NamingContextOperations
n
- The compound name for the node to unbind ( an object
or a naming context )
NotFound
CannotProceed
InvalidName
public NamingContext new_context()
NamingContextOperations
new_context
in interface NamingContextOperations
public NamingContext bind_new_context(NameComponent[] n) throws NotFound, AlreadyBound, CannotProceed, InvalidName
NamingContextOperations
bind_new_context
in interface NamingContextOperations
n
- The compound name for the naming context to create and
to bind.
NotFound
AlreadyBound
CannotProceed
InvalidName
public void destroy() throws NotEmpty
NamingContextOperations
destroy
in interface NamingContextOperations
NotEmpty
public void list(int how_many, BindingListHolder bl, BindingIteratorHolder bi)
NamingContextOperations
list
in interface NamingContextOperations
how_many
- Maximum number of elements into the binding list.bl
- This parameter returns a list that contains all node
of the naming contextbi
- This parameter returns a binding iterator to iterate
in the list.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |