Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.omg.PortableServer.Servant
org.omg.CosNaming.NamingContextExtPOA
org.jacorb.naming.NamingContextImpl
public class NamingContextImpl
extends NamingContextExtPOA
implements java.io.Serializable, Configurable
Method Summary | |
void |
|
void |
|
NamingContext | |
void |
|
POA |
|
void |
|
int |
|
static void | |
void |
|
NamingContext | |
void |
|
void |
|
Object |
|
Object |
|
NameComponent[] |
|
String |
|
String |
|
void |
|
Methods inherited from class org.omg.CosNaming.NamingContextExtPOA | |
_all_interfaces , _invoke , _this , _this |
Methods inherited from class org.omg.PortableServer.Servant | |
_all_interfaces , _default_POA , _get_delegate , _get_interface , _get_interface_def , _is_a , _non_existent , _object_id , _orb , _poa , _set_delegate , _this_object , _this_object |
public void bind(NameComponent nc, Object obj) throws NotFound, CannotProceed, InvalidName, AlreadyBound
bind a name (an array of name components) to an object
public void bind_context(NameComponent nc, NamingContext obj) throws NotFound, CannotProceed, InvalidName, AlreadyBound
Bind a context to a name
public NamingContext bind_new_context(NameComponent nc) throws NotFound, CannotProceed, InvalidName, AlreadyBound
public void configure(Configuration myConfiguration) throws ConfigurationException
public void destroy() throws NotEmpty
- Specified by:
- destroy in interface NamingContextOperations
public int how_many()
- Returns:
- numer of bindings in this context
public static void init(ORB orb, POA rootPoa)
This method needs to be called once to initialize the static fields orb and rootPoa.
public void list(int how_many, BindingListHolder bl, BindingIteratorHolder bi)
list all bindings
- Specified by:
- list in interface NamingContextOperations
public NamingContext new_context()
- Specified by:
- new_context in interface NamingContextOperations
public void rebind(NameComponent nc, Object obj) throws NotFound, CannotProceed, InvalidName
Bind an object to a name that's already in use, i.e. rebind the name
public void rebind_context(NameComponent nc, NamingContext obj) throws NotFound, CannotProceed, InvalidName
Bind an context to a name that's already in use, i.e. rebind the name
public Object resolve(NameComponent nc) throws NotFound, CannotProceed, InvalidName
resolve a name
public NameComponent[] to_name(String sn) throws InvalidName
convert a string into name
- Throws:
InvalidName
-
public String to_string(NameComponent n) throws InvalidName
convert a name into its string representation
public void unbind(NameComponent nc) throws NotFound, CannotProceed, InvalidName
unbind a name