public class HessianModel extends AbstractModel
For now, only allow single level calls to the EJB.
Constructor and Description |
---|
HessianModel(java.lang.String prefix)
Creates a new Hessian model
|
HessianModel(java.lang.String namePrefix,
HessianModel root)
Returns the root Hessian model
|
Modifier and Type | Method and Description |
---|---|
AbstractModel |
copy()
Creates a new instance of HessianModel.
|
java.util.List |
list()
Returns a list of children of the named bean.
|
java.lang.Object |
lookup(java.lang.String name)
Looks up the named bean.
|
java.lang.String |
toString() |
bind, create, createSubcontext, rename, unbind
public HessianModel(java.lang.String prefix)
public HessianModel(java.lang.String namePrefix, HessianModel root)
public AbstractModel copy()
copy
in class AbstractModel
public java.lang.Object lookup(java.lang.String name) throws javax.naming.NamingException
Hessian to find all the valid names.
lookup
in class AbstractModel
name
- the segment name to lookupjavax.naming.NamingException
public java.util.List list() throws javax.naming.NamingException
list
in class AbstractModel
javax.naming.NamingException
public java.lang.String toString()
toString
in class java.lang.Object