Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2014-03-30 21:29:34 +0000
committerslewis2014-03-30 21:29:34 +0000
commita3f70fb5838739de3f6792d16e34aa2739f1a038 (patch)
tree105a5e7a18539d7dac63fdb5441eb820133e4d4d /providers
parentff7993eb077edfb17dd9a7aeeee355975aef5365 (diff)
downloadorg.eclipse.ecf-a3f70fb5838739de3f6792d16e34aa2739f1a038.tar.gz
org.eclipse.ecf-a3f70fb5838739de3f6792d16e34aa2739f1a038.tar.xz
org.eclipse.ecf-a3f70fb5838739de3f6792d16e34aa2739f1a038.zip
Fix for generic java8 provider for bug 421569
Diffstat (limited to 'providers')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice.java8/src/org/eclipse/ecf/provider/internal/remoteservice/java8/Activator.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice.java8/src/org/eclipse/ecf/provider/internal/remoteservice/java8/Activator.java b/providers/bundles/org.eclipse.ecf.provider.remoteservice.java8/src/org/eclipse/ecf/provider/internal/remoteservice/java8/Activator.java
index ba64b4865..5645cb39e 100644
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice.java8/src/org/eclipse/ecf/provider/internal/remoteservice/java8/Activator.java
+++ b/providers/bundles/org.eclipse.ecf.provider.remoteservice.java8/src/org/eclipse/ecf/provider/internal/remoteservice/java8/Activator.java
@@ -30,22 +30,22 @@ public class Activator implements BundleActivator {
SafeRunner.run(new ExtensionRegistryRunnable(context) {
protected void runWithoutRegistry() throws Exception {
context.registerService(ContainerTypeDescription.class, new ContainerTypeDescription(J8GenericContainerInstantiator.JAVA8_SERVER_NAME, new J8GenericContainerInstantiator(), "ECF Java8 Generic Server", true, false), null); //$NON-NLS-1$
- context.registerService(ContainerTypeDescription.class, new ContainerTypeDescription(J8GenericContainerInstantiator.JAVA8_CLIENT_NAME, new J8GenericContainerInstantiator(), "ECF Java8 Generic Client", false, true), null); //$NON-NLS-1$
- context.registerService(ContainerTypeDescription.class, new ContainerTypeDescription(J8SSLGenericContainerInstantiator.JAVA8_SSL_CLIENT_NAME, new J8SSLGenericContainerInstantiator(), "ECF Java8 SSL Generic Server", true, false), null); //$NON-NLS-1$
- context.registerService(ContainerTypeDescription.class, new ContainerTypeDescription(J8SSLGenericContainerInstantiator.JAVA8_SSL_SERVER_NAME, new J8SSLGenericContainerInstantiator(), "ECF Java8 SSL Generic Client", false, true), null); //$NON-NLS-1$
+ context.registerService(ContainerTypeDescription.class, new ContainerTypeDescription(J8GenericContainerInstantiator.JAVA8_CLIENT_NAME, new J8GenericContainerInstantiator(), "ECF Java8 Generic Client", false, false), null); //$NON-NLS-1$
+ context.registerService(ContainerTypeDescription.class, new ContainerTypeDescription(J8SSLGenericContainerInstantiator.JAVA8_SSL_CLIENT_NAME, new J8SSLGenericContainerInstantiator(), "ECF Java8 SSL Generic Client", false, false), null); //$NON-NLS-1$
+ context.registerService(ContainerTypeDescription.class, new ContainerTypeDescription(J8SSLGenericContainerInstantiator.JAVA8_SSL_SERVER_NAME, new J8SSLGenericContainerInstantiator(), "ECF Java8 SSL Generic Server", true, false), null); //$NON-NLS-1$
IAdapterManager am = getAdapterManager(context);
if (am != null) {
rscAdapterFactories = new ArrayList<IAdapterFactory>();
IAdapterFactory af = new J8RemoteServiceContainerAdapterFactory();
am.registerAdapters(af, J8SSLServerSOContainer.class);
rscAdapterFactories.add(af);
- af = new RemoteServiceContainerAdapterFactory();
+ af = new J8RemoteServiceContainerAdapterFactory();
am.registerAdapters(af, J8TCPServerSOContainer.class);
rscAdapterFactories.add(af);
- af = new RemoteServiceContainerAdapterFactory();
+ af = new J8RemoteServiceContainerAdapterFactory();
am.registerAdapters(af, J8SSLClientSOContainer.class);
rscAdapterFactories.add(af);
- af = new RemoteServiceContainerAdapterFactory();
+ af = new J8RemoteServiceContainerAdapterFactory();
am.registerAdapters(af, J8TCPClientSOContainer.class);
rscAdapterFactories.add(af);
}

Back to the top