public class JRMPLocalContext extends JRMPContext implements javax.naming.Context
AbsContext.WrappedEnumeration
Constructor and Description |
---|
JRMPLocalContext(javax.naming.Context jrmpLocalContext)
Constructs an JRMP local Wrapper context
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
unwrapObject(java.lang.Object o,
javax.naming.Name name)
If this object is a reference wrapper return the reference If this object
is a resource wrapper return the resource
|
getObjectPort, wrapObject
addToEnvironment, addToExported, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, decode, defaultUnwrapObject, destroySubcontext, destroySubcontext, encode, getEnvironment, getNameInNamespace, getNameParser, getNameParser, getWrappedContext, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
public JRMPLocalContext(javax.naming.Context jrmpLocalContext) throws javax.naming.NamingException
jrmpLocalContext
- the inital Local JRMP contextjavax.naming.NamingException
- if the registry wrapper cannot be buildprotected java.lang.Object unwrapObject(java.lang.Object o, javax.naming.Name name) throws javax.naming.NamingException
unwrapObject
in class JRMPContext
o
- the object to resolvename
- name of the object to unwrapjavax.naming.NamingException
- if the object cannot be unwraped