You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2009/07/04 14:51:50 UTC

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

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 );
     }