public static Configuration toConfiguration( Hashtable jndiEnvironment )
public static Configuration toConfiguration( Hashtable<String, Object> jndiEnvironment )
    public static Configuration toConfiguration( Hashtable jndiEnvironment )    {        Object value = jndiEnvironment.get( JNDI_KEY );                if ( value == null )        {            MutableStartupConfiguration msc = new MutableStartupConfiguration();            jndiEnvironment.put( JNDI_KEY, msc );            return msc;        }                if ( !( value instanceof Configuration ) )        {            throw new ConfigurationException( "Not an ApacheDS configuration: " + value );        }        return ( Configuration ) value;    }