com.caucho.naming.hessian
Class HessianModel

java.lang.Object
  extended by com.caucho.naming.AbstractModel
      extended by com.caucho.naming.hessian.HessianModel

public class HessianModel
extends AbstractModel

Memory based model for JNDI.


Constructor Summary
HessianModel()
          Creates a new instance of the memory model.
 
Method Summary
protected  AbstractModel create()
          Creates a new instance of MemoryModel.
 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.
 
Methods inherited from class com.caucho.naming.AbstractModel
bind, copy, createSubcontext, rename, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HessianModel

public HessianModel()
Creates a new instance of the memory model.

Method Detail

create

protected AbstractModel create()
Creates a new instance of MemoryModel.

Overrides:
create in class AbstractModel

lookup

public java.lang.Object lookup(java.lang.String name)
                        throws javax.naming.NamingException
Returns the object from looking up a single link.

Overrides:
lookup in class AbstractModel
Parameters:
name - the name segment.
Returns:
the object stored in the map.
Throws:
javax.naming.NamingException

list

public java.util.List list()
Lists the child names.

Overrides:
list in class AbstractModel