org.eclipse.jetty.jndi
类 NamingUtil
java.lang.Object
org.eclipse.jetty.jndi.NamingUtil
public class NamingUtil
- extends Object
Util.java
Created: Tue Jul 1 18:26:17 2003
- 版本:
- 1.0
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__log
public static final Logger __log
NamingUtil
public NamingUtil()
bind
public static Context bind(Context ctx,
String nameStr,
Object obj)
throws NamingException
- Bind an object to a context ensuring all sub-contexts
are created if necessary
- 参数:
ctx - the context into which to bindnameStr - the name relative to context to bindobj - the object to be bound
- 抛出:
NamingException - if an error occurs
unbind
public static void unbind(Context ctx)
throws NamingException
- 抛出:
NamingException
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
- 抛出:
NamingException
Copyright © 2013. All Rights Reserved.