com.caucho.naming
Class EnvironmentModelRoot

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

public class EnvironmentModelRoot
extends java.lang.Object

Environment based model for JNDI.


Method Summary
static EnvironmentModelRoot create()
          Create the local model if it exists.
static EnvironmentModelRoot create(java.lang.ClassLoader loader)
          Create the local model if it exists.
 EnvironmentModel get(java.lang.String path)
          Returns a specific node.
protected  java.lang.ClassLoader getClassLoader()
           
static EnvironmentModelRoot getCurrent()
          Return the local model if it exists.
static EnvironmentModelRoot getCurrent(java.lang.ClassLoader loader)
          Return the local model if it exists.
 EnvironmentModel put(java.lang.String path, EnvironmentModel value)
          Set a specific node.
 EnvironmentModel remove(java.lang.String path)
          Set a specific node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCurrent

public static EnvironmentModelRoot getCurrent()
Return the local model if it exists.


getCurrent

public static EnvironmentModelRoot getCurrent(java.lang.ClassLoader loader)
Return the local model if it exists.


create

public static EnvironmentModelRoot create()
Create the local model if it exists.


create

public static EnvironmentModelRoot create(java.lang.ClassLoader loader)
Create the local model if it exists.


getClassLoader

protected java.lang.ClassLoader getClassLoader()

get

public EnvironmentModel get(java.lang.String path)
Returns a specific node.


put

public EnvironmentModel put(java.lang.String path,
                            EnvironmentModel value)
Set a specific node.


remove

public EnvironmentModel remove(java.lang.String path)
Set a specific node.