Package ch.qos.logback.core.util
Class JNDIUtil
- java.lang.Object
-
- ch.qos.logback.core.util.JNDIUtil
-
@Deprecated(since="2022-01-27") public class JNDIUtil extends java.lang.Object
Deprecated.A simple utility class to create and use a JNDI Context.
-
-
Constructor Summary
Constructors Constructor Description JNDIUtil()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static javax.naming.Context
getInitialContext()
Deprecated.static java.lang.String
lookup(javax.naming.Context ctx, java.lang.String name)
Deprecated.
-
-
-
Method Detail
-
getInitialContext
public static javax.naming.Context getInitialContext() throws javax.naming.NamingException
Deprecated.- Throws:
javax.naming.NamingException
-
lookup
public static java.lang.String lookup(javax.naming.Context ctx, java.lang.String name) throws javax.naming.NamingException
Deprecated.- Throws:
javax.naming.NamingException
-
-