org.mortbay.jndi
Class Util
public class Util
extends java.lang.Object
Util.java
Created: Tue Jul 1 18:26:17 2003
static void | bind(Context ctx, String nameStr, Object obj)- Bind an object to a context ensuring all subcontexts
are created if necessary
|
static Map | flattenBindings(Context ctx, String name)- Do a deep listing of the bindings for a context.
|
bind
public static void bind(Context ctx,
String nameStr,
Object obj)
throws NamingException Bind an object to a context ensuring all subcontexts
are created if necessary
ctx - the context into which to bindobj - the object to be bound
flattenBindings
public static Map flattenBindings(Context ctx,
String name)
throws NamingException Do a deep listing of the bindings for a context.
ctx - the context containing the name for which to list the bindingsname - the name in the context to list
- map: key is fully qualified name, value is the bound object
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.