org.jacorb.naming.namemanager

Class NSTree


public class NSTree
extends JTree

Version:
$Id: NSTree.java,v 1.9 2004/05/06 12:39:59 nicolas Exp $

Author:
Gerald Brose, FU Berlin/XTRADYNE Technologies AG

Field Summary

static int
MAX_BIND
static NSTable
nsTable

Constructor Summary

NSTree(int width, int height, NSTable theTable, NamingContextExt rootCntxt, ORB orb)

Method Summary

void
bind(String name)
Bind a new name context and insert it
void
bindObject(String name, String ior, boolean isRebind)
Dimension
getPreferredSize()
void
unbind()
unbind a context and remove it from this tree
void
update()
update the entire tree of contexts

Field Details

MAX_BIND

public static final int MAX_BIND

Field Value:
40


nsTable

public static NSTable nsTable

Constructor Details

NSTree

public NSTree(int width,
              int height,
              NSTable theTable,
              NamingContextExt rootCntxt,
              ORB orb)

Method Details

bind

public void bind(String name)
            throws NotFound,
                   CannotProceed,
                   InvalidName,
                   AlreadyBound
Bind a new name context and insert it


bindObject

public void bindObject(String name,
                       String ior,
                       boolean isRebind)
            throws NotFound,
                   CannotProceed,
                   InvalidName,
                   AlreadyBound


getPreferredSize

public Dimension getPreferredSize()


unbind

public void unbind()
unbind a context and remove it from this tree


update

public void update()
update the entire tree of contexts