diff options
author | slewis | 2016-01-11 21:35:31 +0000 |
---|---|---|
committer | slewis | 2016-01-11 21:35:31 +0000 |
commit | 4f2dacda2f752b02197dd5b07f78663a3d98ef0b (patch) | |
tree | 85cdfcd72a04a196ac45455324e70d928a8f47c2 | |
parent | 9ec76f244c56b9bddf1c90de266f4ce265aeab31 (diff) | |
download | org.eclipse.ecf-4f2dacda2f752b02197dd5b07f78663a3d98ef0b.tar.gz org.eclipse.ecf-4f2dacda2f752b02197dd5b07f78663a3d98ef0b.tar.xz org.eclipse.ecf-4f2dacda2f752b02197dd5b07f78663a3d98ef0b.zip |
Fix for ClassResolverObjectInputStream construction
Change-Id: I9c978e280cfa8ab4397de2e793202ed067614cf6
-rw-r--r-- | framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/internal/provider/ProviderPlugin.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/internal/provider/ProviderPlugin.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/internal/provider/ProviderPlugin.java index 037f0b6a2..0b19a6e4f 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/internal/provider/ProviderPlugin.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/internal/provider/ProviderPlugin.java @@ -78,14 +78,13 @@ public class ProviderPlugin implements BundleActivator { context1.registerService(ContainerTypeDescription.class, new ContainerTypeDescription(SSLGenericContainerInstantiator.SSLCLIENT_NAME, new SSLGenericContainerInstantiator(), "ECF SSL Generic Client", false, true), null); //$NON-NLS-1$ } }); - // testing Hashtable<String, Object> props = new Hashtable<String, Object>(); props.put(IClassResolver.BUNDLE_PROP_NAME, PLUGIN_ID); this.context.registerService(IClassResolver.class, new BundleClassResolver(context.getBundle()), props); } public ObjectInputStream createObjectInputStream(InputStream ins) throws IOException { - return ClassResolverObjectInputStream.create(this.context, ins, "(" + IClassResolver.BUNDLE_PROP_NAME + "=" + this.context.getBundle().getSymbolicName() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + return ClassResolverObjectInputStream.create(this.context, ins); } /** |