public abstract class AbstractModel
extends java.lang.Object
| Constructor and Description |
|---|
AbstractModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(java.lang.String name,
java.lang.Object obj)
Binds an object as a child to the model.
|
AbstractModel |
copy()
This is a deep copy.
|
protected AbstractModel |
create() |
AbstractModel |
createSubcontext(java.lang.String name)
Creates a subcontext for the model.
|
java.util.List |
list()
Lists the child names.
|
java.lang.Object |
lookup(java.lang.String name)
Returns the object from looking up a single link.
|
void |
rename(java.lang.String newName)
Renames a child.
|
void |
unbind(java.lang.String name)
Unbinds an object as a child to the model.
|
protected AbstractModel create()
public AbstractModel copy() throws javax.naming.NamingException
javax.naming.NamingExceptionpublic java.lang.Object lookup(java.lang.String name)
throws javax.naming.NamingException
name - the name segment.javax.naming.NamingExceptionpublic void bind(java.lang.String name,
java.lang.Object obj)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic void unbind(java.lang.String name)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic AbstractModel createSubcontext(java.lang.String name) throws javax.naming.NamingException
javax.naming.NamingExceptionpublic void rename(java.lang.String newName)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic java.util.List list()
throws javax.naming.NamingException
javax.naming.NamingException