Package ch.qos.logback.classic.util
Class JNDIUtil
- java.lang.Object
-
- ch.qos.logback.classic.util.JNDIUtil
-
public class JNDIUtil extends Object
A simple utility class to create and use a JNDI Context.- Author:
- Ceki Gülcü, Sébastien Pennec
-
-
Constructor Summary
Constructors Constructor Description JNDIUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Context
getInitialContext()
static String
lookup(Context ctx, String name)
-
-
-
Method Detail
-
getInitialContext
public static Context getInitialContext() throws NamingException
- Throws:
NamingException
-
-