summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/ReferenceFactory.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2008-03-06 10:13:42 +0100
committerBenoit Foucher <benoit@zeroc.com>2008-03-06 10:13:42 +0100
commitc6dbd090d9691cc0116a2967b2827b858b184dfe (patch)
tree6d2ad80c98665c9090b16f97c400ab4b33c7ab73 /java/src/IceInternal/ReferenceFactory.java
parentMerge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff)
downloadice-c6dbd090d9691cc0116a2967b2827b858b184dfe.tar.bz2
ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.tar.xz
ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.zip
Removed thread-per-connection and added serialize mode
Diffstat (limited to 'java/src/IceInternal/ReferenceFactory.java')
-rw-r--r--java/src/IceInternal/ReferenceFactory.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/java/src/IceInternal/ReferenceFactory.java b/java/src/IceInternal/ReferenceFactory.java
index 2e5ed274c90..23e5094dcd0 100644
--- a/java/src/IceInternal/ReferenceFactory.java
+++ b/java/src/IceInternal/ReferenceFactory.java
@@ -647,8 +647,7 @@ public final class ReferenceFactory
"LocatorCacheTimeout",
"Locator",
"Router",
- "CollocationOptimized",
- "ThreadPerConnection"
+ "CollocationOptimized"
};
private void
@@ -717,7 +716,6 @@ public final class ReferenceFactory
boolean cacheConnection = true;
boolean preferSecure = defaultsAndOverrides.defaultPreferSecure;
Ice.EndpointSelectionType endpointSelection = defaultsAndOverrides.defaultEndpointSelection;
- boolean threadPerConnection = _instance.threadPerConnection();
int locatorCacheTimeout = defaultsAndOverrides.defaultLocatorCacheTimeout;
//
@@ -787,9 +785,6 @@ public final class ReferenceFactory
}
}
- property = propertyPrefix + ".ThreadPerConnection";
- threadPerConnection = properties.getPropertyAsIntWithDefault(property, threadPerConnection ? 1 : 0) > 0;
-
property = propertyPrefix + ".LocatorCacheTimeout";
locatorCacheTimeout = properties.getPropertyAsIntWithDefault(property, locatorCacheTimeout);
}
@@ -812,7 +807,6 @@ public final class ReferenceFactory
cacheConnection,
preferSecure,
endpointSelection,
- threadPerConnection,
locatorCacheTimeout));
}