Removed the reference to the api-ldap-codec-standalone project

git-svn-id: https://svn.apache.org/repos/asf/directory/shared/trunk@1477085 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ldap/client/api/pom.xml b/ldap/client/api/pom.xml
index 68e59f0..f28d7a6 100644
--- a/ldap/client/api/pom.xml
+++ b/ldap/client/api/pom.xml
@@ -59,11 +59,6 @@
     </dependency>
 
     <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>api-ldap-codec-standalone</artifactId>
-    </dependency>
-
-    <dependency>
       <groupId>commons-pool</groupId>
       <artifactId>commons-pool</artifactId>
       <version>${commons.pool.version}</version>
diff --git a/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java b/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
index c1f0be7..9544ad3 100644
--- a/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
+++ b/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
@@ -60,7 +60,6 @@
 import org.apache.directory.api.ldap.codec.api.MessageDecorator;
 import org.apache.directory.api.ldap.codec.api.MessageEncoderException;
 import org.apache.directory.api.ldap.codec.api.SchemaBinaryAttributeDetector;
-import org.apache.directory.api.ldap.codec.standalone.StandaloneLdapApiService;
 import org.apache.directory.api.ldap.model.constants.SchemaConstants;
 import org.apache.directory.api.ldap.model.cursor.Cursor;
 import org.apache.directory.api.ldap.model.cursor.EntryCursor;
@@ -365,7 +364,7 @@
         // Load the LdapApiService now
         try
         {
-            ldapApiService = new StandaloneLdapApiService();
+            ldapApiService = LdapApiServiceFactory.getSingleton();
         }
         catch ( Exception e )
         {
@@ -474,7 +473,7 @@
         // Load the LdapApiService now
         try
         {
-            ldapApiService = new StandaloneLdapApiService();
+            ldapApiService = LdapApiServiceFactory.getSingleton();
         }
         catch ( Exception e )
         {