public interface NamingContextDataStore
Modifier and Type | Method and Description |
---|---|
void |
Bind(NameComponent n,
Object obj,
BindingType bt)
Method which implements binding a name to an object as
the specified binding type.
|
void |
Destroy()
Method which implements destroying this NamingContext.
|
POA |
getNSPOA() |
boolean |
IsEmpty()
Method which returns whether this NamingContext is empty
or not.
|
void |
List(int how_many,
BindingListHolder bl,
BindingIteratorHolder bi)
Method which implements listing the contents of this
NamingContext and return a binding list and a binding iterator.
|
NamingContext |
NewContext()
Method which implements creating a new NamingContext.
|
Object |
Resolve(NameComponent n,
BindingTypeHolder bth)
Method which implements resolving the specified name,
returning the type of the binding and the bound object reference.
|
Object |
Unbind(NameComponent n)
Method which implements unbinding a name.
|
void Bind(NameComponent n, Object obj, BindingType bt) throws SystemException
n
- a NameComponent which is the name under which the object
will be bound.obj
- the object reference to be bound.bt
- Type of binding (as object or as context).SystemException
- One of a fixed set of CORBA system exceptions.Object Resolve(NameComponent n, BindingTypeHolder bth) throws SystemException
n
- a NameComponent which is the name to be resolved.bth
- the BindingType as an out parameter.SystemException
- One of a fixed set of CORBA system exceptions.Object Unbind(NameComponent n) throws SystemException
SystemException
- One of a fixed set of CORBA system exceptions.void List(int how_many, BindingListHolder bl, BindingIteratorHolder bi) throws SystemException
how_many
- The number of requested bindings in the BindingList.bl
- The BindingList as an out parameter.bi
- The BindingIterator as an out parameter.SystemException
- One of a fixed set of CORBA system exceptions.NamingContext NewContext() throws SystemException
SystemException
- One of a fixed set of CORBA system exceptions.void Destroy() throws SystemException
SystemException
- One of a fixed set of CORBA system exceptions.boolean IsEmpty()
POA getNSPOA()
Copyright © 2017 JBoss by Red Hat. All rights reserved.