com.caucho.naming
Class Jndi

java.lang.Object
  extended by com.caucho.naming.Jndi

public class Jndi
extends java.lang.Object

Static utility functions.


Method Summary
static void bindDeep(javax.naming.Context context, java.lang.String name, java.lang.Object obj)
           
static void bindDeep(java.lang.String name, java.lang.Object obj)
           
static void bindDeepShort(javax.naming.Context context, java.lang.String name, java.lang.Object obj)
           
static void bindDeepShort(java.lang.String name, java.lang.Object obj)
           
static java.lang.String getFullName(java.lang.String shortName)
          Returns the full name.
static java.lang.Object lookup(java.lang.String name)
           
static void rebindDeep(javax.naming.Context context, java.lang.String name, java.lang.Object obj)
          Binds the object into JNDI without warnings if an old object exists, using the full JNDI name.
static void rebindDeep(java.lang.String name, java.lang.Object obj)
          Binds the object into JNDI without warnings if an old object exists, using the full JNDI name.
static void rebindDeepShort(javax.naming.Context context, java.lang.String name, java.lang.Object obj)
          Binds the object into JNDI without warnings if an old object exists.
static void rebindDeepShort(java.lang.String name, java.lang.Object obj)
          Binds the object into JNDI without warnings if an old object exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFullName

public static java.lang.String getFullName(java.lang.String shortName)
Returns the full name.


bindDeepShort

public static void bindDeepShort(java.lang.String name,
                                 java.lang.Object obj)
                          throws javax.naming.NamingException
Throws:
javax.naming.NamingException

bindDeepShort

public static void bindDeepShort(javax.naming.Context context,
                                 java.lang.String name,
                                 java.lang.Object obj)
                          throws javax.naming.NamingException
Throws:
javax.naming.NamingException

bindDeep

public static void bindDeep(java.lang.String name,
                            java.lang.Object obj)
                     throws javax.naming.NamingException
Throws:
javax.naming.NamingException

bindDeep

public static void bindDeep(javax.naming.Context context,
                            java.lang.String name,
                            java.lang.Object obj)
                     throws javax.naming.NamingException
Throws:
javax.naming.NamingException

rebindDeepShort

public static void rebindDeepShort(java.lang.String name,
                                   java.lang.Object obj)
                            throws javax.naming.NamingException
Binds the object into JNDI without warnings if an old object exists. The name may be a full name or the short form.

Throws:
javax.naming.NamingException

rebindDeepShort

public static void rebindDeepShort(javax.naming.Context context,
                                   java.lang.String name,
                                   java.lang.Object obj)
                            throws javax.naming.NamingException
Binds the object into JNDI without warnings if an old object exists. The name may be a full name or the short form.

Throws:
javax.naming.NamingException

rebindDeep

public static void rebindDeep(java.lang.String name,
                              java.lang.Object obj)
                       throws javax.naming.NamingException
Binds the object into JNDI without warnings if an old object exists, using the full JNDI name.

Throws:
javax.naming.NamingException

rebindDeep

public static void rebindDeep(javax.naming.Context context,
                              java.lang.String name,
                              java.lang.Object obj)
                       throws javax.naming.NamingException
Binds the object into JNDI without warnings if an old object exists, using the full JNDI name.

Throws:
javax.naming.NamingException

lookup

public static java.lang.Object lookup(java.lang.String name)