From c4016421c2c25c43463b5c9a2535c3b362ee2e87 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Wed, 16 Dec 2009 22:18:23 +0000
Subject: [PATCH] Move authenticated connection factory to tools package since its rebind functionality is only useful in the perf tools.

---
 sdk/src/com/sun/opends/sdk/tools/Utils.java                          |    2 +-
 sdk/src/com/sun/opends/sdk/tools/PerformanceRunner.java              |    3 ++-
 sdk/src/com/sun/opends/sdk/tools/AuthenticatedConnectionFactory.java |    5 +++--
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/sdk/src/org/opends/sdk/AuthenticatedConnectionFactory.java b/sdk/src/com/sun/opends/sdk/tools/AuthenticatedConnectionFactory.java
similarity index 99%
rename from sdk/src/org/opends/sdk/AuthenticatedConnectionFactory.java
rename to sdk/src/com/sun/opends/sdk/tools/AuthenticatedConnectionFactory.java
index c20ae3c..2971d6b 100644
--- a/sdk/src/org/opends/sdk/AuthenticatedConnectionFactory.java
+++ b/sdk/src/com/sun/opends/sdk/tools/AuthenticatedConnectionFactory.java
@@ -25,12 +25,13 @@
  *      Copyright 2009 Sun Microsystems, Inc.
  */
 
-package org.opends.sdk;
+package com.sun.opends.sdk.tools;
 
 
 
 import java.util.Collection;
 
+import org.opends.sdk.*;
 import org.opends.sdk.requests.*;
 import org.opends.sdk.responses.BindResult;
 import org.opends.sdk.responses.CompareResult;
@@ -66,7 +67,7 @@
  * then the connection attempt will fail and an {@code
  * ErrorResultException} will be thrown.
  */
-public final class AuthenticatedConnectionFactory
+final class AuthenticatedConnectionFactory
     implements
     ConnectionFactory<AuthenticatedConnectionFactory.AuthenticatedAsynchronousConnection>
 {
diff --git a/sdk/src/com/sun/opends/sdk/tools/PerformanceRunner.java b/sdk/src/com/sun/opends/sdk/tools/PerformanceRunner.java
index 48ce379..ffd54df 100644
--- a/sdk/src/com/sun/opends/sdk/tools/PerformanceRunner.java
+++ b/sdk/src/com/sun/opends/sdk/tools/PerformanceRunner.java
@@ -38,9 +38,10 @@
 import java.util.concurrent.atomic.AtomicReference;
 
 import org.opends.sdk.*;
-import org.opends.sdk.AuthenticatedConnectionFactory.AuthenticatedAsynchronousConnection;
 import org.opends.sdk.responses.Result;
 
+import com.sun.opends.sdk.tools.AuthenticatedConnectionFactory.AuthenticatedAsynchronousConnection;
+
 
 
 
diff --git a/sdk/src/com/sun/opends/sdk/tools/Utils.java b/sdk/src/com/sun/opends/sdk/tools/Utils.java
index bc17110..342ce11 100644
--- a/sdk/src/com/sun/opends/sdk/tools/Utils.java
+++ b/sdk/src/com/sun/opends/sdk/tools/Utils.java
@@ -37,10 +37,10 @@
 import java.util.StringTokenizer;
 
 import org.opends.sdk.*;
-import org.opends.sdk.AuthenticatedConnectionFactory.AuthenticatedConnection;
 import org.opends.sdk.controls.*;
 import org.opends.sdk.responses.BindResult;
 
+import com.sun.opends.sdk.tools.AuthenticatedConnectionFactory.AuthenticatedConnection;
 import com.sun.opends.sdk.util.StaticUtils;
 
 

--
Gitblit v1.10.0