|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mortbay.jndi.Util
public class Util
Util.java Created: Tue Jul 1 18:26:17 2003
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
static void |
bind(javax.naming.Context ctx,
java.lang.String nameStr,
java.lang.Object obj)
Bind an object to a context ensuring all subcontexts are created if necessary |
static java.util.Map |
flattenBindings(javax.naming.Context ctx,
java.lang.String name)
Do a deep listing of the bindings for a context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static void bind(javax.naming.Context ctx,
java.lang.String nameStr,
java.lang.Object obj)
throws javax.naming.NamingException
ctx - the context into which to bindname - the name relative to context to bindobj - the object to be bound
javax.naming.NamingException - if an error occurs
public static java.util.Map flattenBindings(javax.naming.Context ctx,
java.lang.String name)
throws javax.naming.NamingException
ctx - the context containing the name for which to list the bindingsname - the name in the context to list
javax.naming.NamingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||