org.apache.directory.shared.ldap.jndi
Class JndiUtils
java.lang.Object
org.apache.directory.shared.ldap.jndi.JndiUtils
public class JndiUtils
- extends java.lang.Object
An utility class to convert back and forth JNDI classes to ADS classes.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiUtils
public JndiUtils()
toJndiControl
public static javax.naming.ldap.Control toJndiControl(Control control)
toJndiControls
public static javax.naming.ldap.Control[] toJndiControls(Control... controls)
fromJndiControl
public static Control fromJndiControl(javax.naming.ldap.Control jndiControl)
fromJndiControls
public static Control[] fromJndiControls(javax.naming.ldap.Control... jndiControls)
wrap
public static void wrap(java.lang.Throwable t)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.