Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2007-02-26 23:47:46 +0000
committerMichael Valenta2007-02-26 23:47:46 +0000
commitb9b54c820303c17a3961d2891a51533cf14c4a4b (patch)
tree454e3af73be6887267c8bfe573ee2f4c45bda909
parent19c97c675f766f6c1dec750b1273a9c8fb64d199 (diff)
downloadeclipse.platform.team-b9b54c820303c17a3961d2891a51533cf14c4a4b.tar.gz
eclipse.platform.team-b9b54c820303c17a3961d2891a51533cf14c4a4b.tar.xz
eclipse.platform.team-b9b54c820303c17a3961d2891a51533cf14c4a4b.zip
Fixed error in OSGi registration
-rw-r--r--bundles/org.eclipse.jsch.core/src/org/eclipse/jsch/internal/core/JSchCorePlugin.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.jsch.core/src/org/eclipse/jsch/internal/core/JSchCorePlugin.java b/bundles/org.eclipse.jsch.core/src/org/eclipse/jsch/internal/core/JSchCorePlugin.java
index af8b81056..45c0ab194 100644
--- a/bundles/org.eclipse.jsch.core/src/org/eclipse/jsch/internal/core/JSchCorePlugin.java
+++ b/bundles/org.eclipse.jsch.core/src/org/eclipse/jsch/internal/core/JSchCorePlugin.java
@@ -18,6 +18,7 @@ import java.util.Map;
import org.eclipse.core.net.proxy.IProxyService;
import org.eclipse.core.runtime.*;
import org.eclipse.core.runtime.preferences.*;
+import org.eclipse.jsch.core.IJSchService;
import org.eclipse.osgi.util.NLS;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceRegistration;
@@ -234,7 +235,7 @@ public class JSchCorePlugin extends Plugin{
if(Boolean
.valueOf(System.getProperty(PROP_REGISTER_SERVICE, "true")).booleanValue()){ //$NON-NLS-1$
proxyService=getBundle().getBundleContext().registerService(
- IProxyService.class.getName(), JSchProvider.getInstance(), new Hashtable());
+ IJSchService.class.getName(), JSchProvider.getInstance(), new Hashtable());
}
}

Back to the top