|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.naming.AbstractModel
com.caucho.naming.MemoryModel
public class MemoryModel
Memory based model for JNDI.
| Constructor Summary | |
|---|---|
MemoryModel()
Creates a new instance of the memory model. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.caucho.naming.AbstractModel |
|---|
copy, rename |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryModel()
| Method Detail |
|---|
protected AbstractModel create()
create in class AbstractModel
public java.lang.Object lookup(java.lang.String name)
throws javax.naming.NamingException
lookup in class AbstractModelname - the name segment.
javax.naming.NamingException
public void bind(java.lang.String name,
java.lang.Object obj)
throws javax.naming.NamingException
bind in class AbstractModeljavax.naming.NamingException
public void unbind(java.lang.String name)
throws javax.naming.NamingException
unbind in class AbstractModeljavax.naming.NamingException
public AbstractModel createSubcontext(java.lang.String name)
throws javax.naming.NamingException
createSubcontext in class AbstractModeljavax.naming.NamingExceptionpublic java.util.List list()
list in class AbstractModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||