From e92e9c444a3f7c4cf02a54788f8b1ae324a71aa3 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Thu, 20 Dec 2012 06:45:48 +0000
Subject: [PATCH] Align with r8390

---
 opendj-sdk/opendj3/src/main/docbkx/dev-guide/chap-simple-proxy.xml |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/opendj-sdk/opendj3/src/main/docbkx/dev-guide/chap-simple-proxy.xml b/opendj-sdk/opendj3/src/main/docbkx/dev-guide/chap-simple-proxy.xml
index 0752726..1056959 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/dev-guide/chap-simple-proxy.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/dev-guide/chap-simple-proxy.xml
@@ -76,13 +76,15 @@
   pool of the maximum size you specify.</para>
 
   <programlisting language="java"
->final List&lt;ConnectionFactory&gt; factories = new LinkedList&lt;ConnectionFactory&gt;();
+>final List&lt;ConnectionFactory&gt; factories = new LinkedList&lt;~&gt;();
 
-factories.add(Connections.newFixedConnectionPool(
-       Connections.newAuthenticatedConnectionFactory(
-           new LDAPConnectionFactory(remoteAddress,remotePort),
-           Requests.newSimpleBindRequest(proxyDN, proxyPassword.toCharArray())),
-       Integer.MAX_VALUE));</programlisting>
+factories.add(Connections.newFixedConnectionPool(Connections
+        .newAuthenticatedConnectionFactory(Connections
+                .newHeartBeatConnectionFactory(new LDAPConnectionFactory(
+                        remoteAddress, remotePort)),
+                        Requests.newSimpleBindRequest(proxyDN,
+                                proxyPassword.toCharArray())),
+                                Integer.MAX_VALUE));</programlisting>
 
   <para>Connections are returned to the pool when you <literal>close()</literal>
   them. Notice that <literal>Connections</literal> also provides methods to

--
Gitblit v1.10.0