org.apache.directory.shared.ldap.jndi
Class JndiUtils

java.lang.Object
  extended by 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

Constructor Summary
JndiUtils()
           
 
Method Summary
static Control fromJndiControl(javax.naming.ldap.Control jndiControl)
           
static Control[] fromJndiControls(javax.naming.ldap.Control... jndiControls)
           
static javax.naming.ldap.Control toJndiControl(Control control)
           
static javax.naming.ldap.Control[] toJndiControls(Control... controls)
           
static void wrap(java.lang.Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiUtils

public JndiUtils()
Method Detail

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.