attributes.put( "javaClassName", "HelloWorld" );
attributes.put( "fullyQualifiedJavaClassName", "HelloWorld" );
    public void testLdapClassLoaderWithClassLoadedAnywhere() throws Exception    {        // get default naming context to work on        ServerLdapContext defaultContext = ( ServerLdapContext ) sysRoot.lookup( "ou=system" );        // set up        Attributes attributes = new BasicAttributes( "objectClass", "top", true );        attributes.get( "objectClass" ).add( "javaClass" );        attributes.put( "javaClassName", "HelloWorld" );        attributes.put( "javaClassByteCode", HELLOWORLD_CLASS_BYTES );        defaultContext.createSubcontext( "javaClassName=HelloWorld", attributes );        // assert set up successfull        assertNotNull( defaultContext.lookup( "javaClassName=HelloWorld" ) );        // load the class        LdapClassLoader loader = new LdapClassLoader( ( ServerLdapContext ) ( sysRoot.lookup( "" ) ) );        Class clazz = loader.loadClass( "HelloWorld" );        // assert class loaded successfully        assertEquals( clazz.getName(), "HelloWorld" );    }