| java.lang.Object org.mortbay.naming.NamingUtil
NamingUtil | public class NamingUtil (Code) | | Util.java
Created: Tue Jul 1 18:26:17 2003
author: Jan Bartel version: 1.0 |
bind | public static void bind(Context ctx, String nameStr, Object obj) throws NamingException(Code) | | Bind an object to a context ensuring all subcontexts
are created if necessary
Parameters: ctx - the context into which to bind Parameters: name - the name relative to context to bind Parameters: obj - the object to be bound exception: NamingException - if an error occurs |
flattenBindings | public static Map flattenBindings(Context ctx, String name) throws NamingException(Code) | | Do a deep listing of the bindings for a context.
Parameters: ctx - the context containing the name for which to list the bindings Parameters: name - the name in the context to list map: key is fully qualified name, value is the bound object throws: NamingException - |
|
|