public class MemoryModel extends AbstractModel
| Constructor and Description |
|---|
MemoryModel()
Creates a new instance of the memory model.
|
| 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 MemoryModel.
|
AbstractModel |
createSubcontext(java.lang.String name)
Creates a subcontext.
|
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 |
unbind(java.lang.String name)
Unbinds an object as a child to the model.
|
copy, renameprotected AbstractModel create()
create in class AbstractModelpublic java.lang.Object lookup(java.lang.String name)
throws javax.naming.NamingException
lookup in class AbstractModelname - the name segment.javax.naming.NamingExceptionpublic void bind(java.lang.String name,
java.lang.Object obj)
throws javax.naming.NamingException
bind in class AbstractModeljavax.naming.NamingExceptionpublic void unbind(java.lang.String name)
throws javax.naming.NamingException
unbind in class AbstractModeljavax.naming.NamingExceptionpublic AbstractModel createSubcontext(java.lang.String name) throws javax.naming.NamingException
createSubcontext in class AbstractModeljavax.naming.NamingExceptionpublic java.util.List list()
list in class AbstractModel