public class EnvironmentModel extends AbstractModel
Modifier and Type | Method and Description |
---|---|
void |
bind(java.lang.String name,
java.lang.Object obj)
Rebinds an object as a child to the model.
|
protected AbstractModel |
create()
Creates a new instance of EnvironmentModel.
|
AbstractModel |
createSubcontext(java.lang.String name)
Creates a subcontext.
|
protected void |
fillList(java.util.ArrayList values) |
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.
|
java.lang.String |
toString() |
void |
unbind(java.lang.String name)
Unbinds an object as a child to the model.
|
copy
protected AbstractModel create()
create
in class AbstractModel
public java.lang.Object lookup(java.lang.String name) throws javax.naming.NamingException
lookup
in class AbstractModel
name
- the name segment.javax.naming.NamingException
public void bind(java.lang.String name, java.lang.Object obj) throws javax.naming.NamingException
bind
in class AbstractModel
javax.naming.NamingException
public void unbind(java.lang.String name) throws javax.naming.NamingException
unbind
in class AbstractModel
javax.naming.NamingException
public AbstractModel createSubcontext(java.lang.String name) throws javax.naming.NamingException
createSubcontext
in class AbstractModel
javax.naming.NamingException
public void rename(java.lang.String newName) throws javax.naming.NamingException
rename
in class AbstractModel
javax.naming.NamingException
public java.util.List list()
list
in class AbstractModel
protected void fillList(java.util.ArrayList values)
public java.lang.String toString()
toString
in class java.lang.Object