directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1133069 - /directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
Date Tue, 07 Jun 2011 16:14:31 GMT
Author: kayyagari
Date: Tue Jun  7 16:14:30 2011
New Revision: 1133069

URL: http://svn.apache.org/viewvc?rev=1133069&view=rev
Log:
o added support for setting binary values

Modified:
    directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java

Modified: directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java?rev=1133069&r1=1133068&r2=1133069&view=diff
==============================================================================
--- directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
(original)
+++ directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
Tue Jun  7 16:14:30 2011
@@ -38,6 +38,7 @@ import javax.naming.directory.SearchCont
 
 import org.apache.directory.server.config.beans.AdsBaseBean;
 import org.apache.directory.server.config.beans.ConfigBean;
+import org.apache.directory.server.config.beans.ReplConsumerBean;
 import org.apache.directory.server.core.partition.impl.btree.BTreePartition;
 import org.apache.directory.server.i18n.I18n;
 import org.apache.directory.server.xdbm.ForwardIndexEntry;
@@ -296,6 +297,10 @@ public class ConfigPartitionReader
             {
                 beanField.set( bean, value.getString() );
             }
+            else if ( type == byte[].class )
+            {
+                beanField.set( bean, value.getBytes() );
+            }
             else if ( type == int.class )
             {
                 beanField.setInt( bean, Integer.parseInt( valueStr ) );



Mime
View raw message