public class JndiCloser extends Object
Closer because JNDI is not in Android.| Constructor and Description | 
|---|
| JndiCloser() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | close(Context context)Closes the specified  Context. | 
| static void | closeSilently(Context context)Closes the specified  Context, ignoring any exceptions thrown by the close operation. | 
public JndiCloser()
public static void close(Context context) throws NamingException
Context.context - the JNDI Context to close, may be nullNamingException - if a problem occurred closing the specified JNDI Contextpublic static void closeSilently(Context context)
Context, ignoring any exceptions thrown by the close operation.context - the JNDI Context to close, may be nullCopyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
             Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,             and the Apache Log4j logo are trademarks of The Apache Software Foundation.