directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r414968 - /directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/JavaStoredProcedureExtendedOperationHandler.java
Date Sat, 17 Jun 2006 00:24:10 GMT
Author: ersiner
Date: Fri Jun 16 17:24:10 2006
New Revision: 414968

URL: http://svn.apache.org/viewvc?rev=414968&view=rev
Log:
Using new Class Utils for getting method from a class.

Modified:
    directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/JavaStoredProcedureExtendedOperationHandler.java

Modified: directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/JavaStoredProcedureExtendedOperationHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/JavaStoredProcedureExtendedOperationHandler.java?rev=414968&r1=414967&r2=414968&view=diff
==============================================================================
--- directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/JavaStoredProcedureExtendedOperationHandler.java
(original)
+++ directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/JavaStoredProcedureExtendedOperationHandler.java
Fri Jun 16 17:24:10 2006
@@ -34,6 +34,7 @@
 import org.apache.directory.shared.ldap.exception.LdapNamingException;
 import org.apache.directory.shared.ldap.message.ResultCodeEnum;
 import org.apache.directory.shared.ldap.util.ClassUtils;
+import org.apache.directory.shared.ldap.util.DirectoryClassUtils;
 import org.apache.directory.shared.ldap.util.SpringClassUtils;
 import org.apache.directory.shared.ldap.util.StringTools;
 
@@ -126,7 +127,7 @@
         try
         {
             Class clazz = loader.loadClass( className );
-            Method proc = clazz.getMethod( methodName, types );
+            Method proc = DirectoryClassUtils.getAssignmentCompatibleMethod( clazz, methodName,
types );
             return proc.invoke( null, values );
         }
         catch ( Exception e )



Mime
View raw message