directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r791119 - /directory/shared/trunk/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/LdapConnectionPool.java
Date Sat, 04 Jul 2009 12:51:50 GMT
Author: kayyagari
Date: Sat Jul  4 12:51:50 2009
New Revision: 791119

URL: http://svn.apache.org/viewvc?rev=791119&view=rev
Log:
o updated constructor to assign value to the factory variable
o added a setter to set the factory

Modified:
    directory/shared/trunk/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/LdapConnectionPool.java

Modified: directory/shared/trunk/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/LdapConnectionPool.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/LdapConnectionPool.java?rev=791119&r1=791118&r2=791119&view=diff
==============================================================================
--- directory/shared/trunk/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/LdapConnectionPool.java
(original)
+++ directory/shared/trunk/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/LdapConnectionPool.java
Sat Jul  4 12:51:50 2009
@@ -48,6 +48,17 @@
     public LdapConnectionPool( PoolableLdapConnectionFactory factory )
     {
         super( factory );
+        this.factory = factory;
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public void setFactory( PoolableLdapConnectionFactory factory )
+    {
+        this.factory = factory;
+        super.setFactory( factory );
     }
 
 



Mime
View raw message