public class NameNode
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
NameNode.Federation |
Constructor and Description |
---|
NameNode(NameNode parent,
ParsedName name,
java.lang.Object obj,
NameNode parentTree) |
Modifier and Type | Method and Description |
---|---|
void |
bind(ParsedName name,
java.lang.Object obj) |
protected void |
clearCache() |
int |
compareTo(int otherHash) |
IvmContext |
createSubcontext(ParsedName name) |
IvmContext |
createSubcontext(ParsedName name,
boolean createReadOnlyContext) |
java.lang.String |
getAtomicName() |
java.lang.Object |
getBinding() |
java.lang.Object |
getBinding(boolean createReadOnlyContext) |
NameNode |
getGrtrTree() |
NameNode |
getLessTree() |
java.lang.Object |
getObject() |
NameNode |
getParent() |
NameNode |
getParentTree() |
NameNode |
getSubTree() |
protected void |
prune() |
java.lang.Object |
resolve(ParsedName name) |
java.lang.Object |
resolve(ParsedName name,
boolean createReadOnlyContext) |
java.lang.String |
toString() |
void |
tree(java.lang.String indent,
java.io.PrintStream out) |
void |
unbind(ParsedName name) |
public NameNode(NameNode parent, ParsedName name, java.lang.Object obj, NameNode parentTree)
public java.lang.Object getBinding()
public java.lang.Object getBinding(boolean createReadOnlyContext)
public java.lang.Object getObject()
public java.lang.Object resolve(ParsedName name) throws javax.naming.NameNotFoundException
javax.naming.NameNotFoundException
public java.lang.Object resolve(ParsedName name, boolean createReadOnlyContext) throws javax.naming.NameNotFoundException
javax.naming.NameNotFoundException
public void bind(ParsedName name, java.lang.Object obj) throws javax.naming.NameAlreadyBoundException
javax.naming.NameAlreadyBoundException
public void tree(java.lang.String indent, java.io.PrintStream out)
public int compareTo(int otherHash)
public void unbind(ParsedName name) throws javax.naming.NameAlreadyBoundException
javax.naming.NameAlreadyBoundException
protected void prune()
protected void clearCache()
public IvmContext createSubcontext(ParsedName name) throws javax.naming.NameAlreadyBoundException
javax.naming.NameAlreadyBoundException
public IvmContext createSubcontext(ParsedName name, boolean createReadOnlyContext) throws javax.naming.NameAlreadyBoundException
javax.naming.NameAlreadyBoundException
public java.lang.String getAtomicName()
public NameNode getLessTree()
public NameNode getGrtrTree()
public NameNode getSubTree()
public NameNode getParent()
public NameNode getParentTree()
public java.lang.String toString()
toString
in class java.lang.Object