|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.jndi.spi.AbsContext
org.objectweb.carol.jndi.spi.CmiContext
Nested Class Summary |
Nested classes inherited from class org.objectweb.carol.jndi.spi.AbsContext |
AbsContext.WrappedEnumeration |
Field Summary |
Fields inherited from interface javax.naming.Context |
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
Constructor Summary | |
CmiContext(javax.naming.Context cmiContext)
Constructs an CMI Wrapper context |
Method Summary | |
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 |
Methods inherited from class org.objectweb.carol.jndi.spi.AbsContext |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.naming.Context |
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 |
Constructor Detail |
public CmiContext(javax.naming.Context cmiContext)
cmiContext
- the inital CMI contextMethod Detail |
protected 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 unwrap
javax.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 replaced
Remote JNDIRemoteReference Object
if o is a
resource o if else
javax.naming.NamingException
- if object cannot be wrapped
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |