com.vinculumtech.platform.root
Class NamingRoot

java.lang.Object
  extended bycom.vinculumtech.platform.root.NamingRoot

public final class NamingRoot
extends java.lang.Object

NamingRoot provides access to selected methods of the application server's JNDI Context.

Version:
$Id: //depot/carrierwave/src/shared/com/vinculumtech/platform/root/NamingRoot.java#6 $
See Also:
Context

Method Summary
static void bind(java.lang.String name, java.lang.Object object)
          Binds a name to an object.
static java.util.Hashtable createEnvironment(java.util.Properties overrides)
           
static java.lang.Object find(java.lang.String name)
          Retrieves the named object, but return null if the name has not been bound.
static javax.naming.Context getContext()
          Retrieve the Context used by the server.
protected static void initEnvironment(java.util.Hashtable env, java.lang.String key, java.util.Properties overrides)
           
static java.lang.Object lookup(java.lang.String name)
          Retrieves the named object.
static void unbind(java.lang.String name)
          Unbinds the named object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createEnvironment

public static final java.util.Hashtable createEnvironment(java.util.Properties overrides)

initEnvironment

protected static final void initEnvironment(java.util.Hashtable env,
                                            java.lang.String key,
                                            java.util.Properties overrides)

getContext

public static final javax.naming.Context getContext()
Retrieve the Context used by the server.


lookup

public static final java.lang.Object lookup(java.lang.String name)
                                     throws javax.naming.NamingException
Retrieves the named object.

Throws:
javax.naming.NamingException
See Also:
Context.lookup(java.lang.String)

find

public static final java.lang.Object find(java.lang.String name)
                                   throws javax.naming.NamingException
Retrieves the named object, but return null if the name has not been bound.

Throws:
javax.naming.NamingException

bind

public static final void bind(java.lang.String name,
                              java.lang.Object object)
                       throws javax.naming.NamingException
Binds a name to an object.

Throws:
javax.naming.NamingException
See Also:
Context.bind(java.lang.String, java.lang.Object)

unbind

public static final void unbind(java.lang.String name)
                         throws javax.naming.NamingException
Unbinds the named object.

Throws:
javax.naming.NamingException
See Also:
Context.unbind(java.lang.String)


Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.