directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r440056 - in /directory/trunks/apacheds/core/src/main: java/org/apache/directory/server/core/sp/LdapClassLoader.java schema/apache.schema
Date Mon, 04 Sep 2006 12:53:38 GMT
Author: ersiner
Date: Mon Sep  4 05:53:37 2006
New Revision: 440056

URL: http://svn.apache.org/viewvc?view=rev&rev=440056
Log:
Renamed schema elements that represents Java classes.

Modified:
    directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/sp/LdapClassLoader.java
    directory/trunks/apacheds/core/src/main/schema/apache.schema

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/sp/LdapClassLoader.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/sp/LdapClassLoader.java?view=diff&rev=440056&r1=440055&r2=440056
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/sp/LdapClassLoader.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/sp/LdapClassLoader.java
Mon Sep  4 05:53:37 2006
@@ -71,7 +71,7 @@
         byte[] classBytes = null;
         
         BranchNode filter = new BranchNode( BranchNode.AND );
-        filter.addNode( new SimpleNode( "fullyQualifiedClassName", name, LeafNode.EQUALITY
) );
+        filter.addNode( new SimpleNode( "javaClassName", name, LeafNode.EQUALITY ) );
         filter.addNode( new SimpleNode( "objectClass", "javaClass", LeafNode.EQUALITY ) );
         
         SearchControls controls = new SearchControls();
@@ -88,7 +88,7 @@
                 if ( javaClassEntries.hasMore() ) // there should be only one!
                 {
                     SearchResult javaClassEntry = ( SearchResult ) javaClassEntries.next();
-                    Attribute byteCode = javaClassEntry.getAttributes().get( "byteCode" );
+                    Attribute byteCode = javaClassEntry.getAttributes().get( "javaClassByteCode"
);
                     classBytes = ( byte[] ) byteCode.get();
                     break; // exit on first hit!
                 }

Modified: directory/trunks/apacheds/core/src/main/schema/apache.schema
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core/src/main/schema/apache.schema?view=diff&rev=440056&r1=440055&r2=440056
==============================================================================
--- directory/trunks/apacheds/core/src/main/schema/apache.schema (original)
+++ directory/trunks/apacheds/core/src/main/schema/apache.schema Mon Sep  4 05:53:37 2006
@@ -213,13 +213,13 @@
 #    MUST ( fqcn $ byteCode ) )
 
 attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.21
-    NAME 'fullyQualifiedClassName'
+    NAME 'javaClassName'
     DESC 'The fully qualified name for a (Java) class'
 	 EQUALITY caseExactIA5Match
 	 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
 
 attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.22
-    NAME 'byteCode'
+    NAME 'javaClassByteCode'
 	 DESC 'The actual byte code for a (Java) class'
 	 SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 SINGLE-VALUE )
 



Mime
View raw message