private static void createGlueEntry( PartitionNexus nexus, Name name ) throws NamingException
private static void createGlueEntry( PartitionNexus nexus, LdapDN name ) throws NamingException
    private static void createGlueEntry( PartitionNexus nexus, Name name ) throws NamingException    {        try        {            if( nexus.hasEntry( (LdapDN)name ) )            {                return;            }        }        catch( NameNotFoundException e )        {            // Skip if there's no backend associated with the name.            return;        }                // Create a glue entry.        Attributes entry = new BasicAttributes();        //// Add RDN attribute.         String rdn = name.get( name.size() - 1 );        String rdnAttribute = NamespaceTools.getRdnAttribute( rdn );        String rdnValue = NamespaceTools.getRdnValue( rdn );        entry.put( rdnAttribute, rdnValue );        //// Add objectClass attribute.         Attribute objectClassAttr = new BasicAttribute( "objectClass" );        objectClassAttr.add( "top" );        objectClassAttr.add( "extensibleObject" );        entry.put( objectClassAttr );                // And add it to the nexus.        nexus.add( (LdapDN)name, entry );    }