public class JEREMIEContext extends AbsContext implements javax.naming.Context
AbsContext.WrappedEnumeration
Constructor and Description |
---|
JEREMIEContext(javax.naming.Context jeremieCtx)
Constructs an JEREMIE 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
|
protected java.lang.Object |
wrapObject(java.lang.Object o,
javax.naming.Name name,
boolean replace)
Wrap an Object : If the object is a reference wrap it into a Reference
Wrapper Object here the good way is to contact the carol configuration to
get the portable remote object
|
addToEnvironment, addToExported, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, decode, defaultUnwrapObject, destroySubcontext, destroySubcontext, encode, getEnvironment, getNameInNamespace, getNameParser, getNameParser, getObjectPort, 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 JEREMIEContext(javax.naming.Context jeremieCtx)
jeremieCtx
- the inital JEREMIE contextprotected java.lang.Object unwrapObject(java.lang.Object o, javax.naming.Name name) throws javax.naming.NamingException
unwrapObject
in class AbsContext
o
- the object to resolvename
- name of the object to unwrapjavax.naming.NamingException
- if the object cannot be unwrapedprotected java.lang.Object wrapObject(java.lang.Object o, javax.naming.Name name, boolean replace) throws javax.naming.NamingException
wrapObject
in class AbsContext
o
- the object to encodename
- of the objectreplace
- if the object need to be replacedRemote JNDIRemoteReference Object
if o is a
resource o if elsejavax.naming.NamingException
- if object cannot be wrapped