summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/RoutableReference.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2007-01-26 16:58:00 +0000
committerMark Spruiell <mes@zeroc.com>2007-01-26 16:58:00 +0000
commit71f7fff702750e9b779f645d21075562e5c80a40 (patch)
tree0f059491911ecc5ea3f6c680b0ae05d0f67e7bfd /java/src/IceInternal/RoutableReference.java
parentSynced with other assemby files (diff)
downloadice-71f7fff702750e9b779f645d21075562e5c80a40.tar.bz2
ice-71f7fff702750e9b779f645d21075562e5c80a40.tar.xz
ice-71f7fff702750e9b779f645d21075562e5c80a40.zip
preserve proxy settings for CacheConnection, EndpointSelection,
ThreadPerConnection
Diffstat (limited to 'java/src/IceInternal/RoutableReference.java')
-rw-r--r--java/src/IceInternal/RoutableReference.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/java/src/IceInternal/RoutableReference.java b/java/src/IceInternal/RoutableReference.java
index fe7f8bd208a..3bb2620d487 100644
--- a/java/src/IceInternal/RoutableReference.java
+++ b/java/src/IceInternal/RoutableReference.java
@@ -265,20 +265,23 @@ public abstract class RoutableReference extends Reference
boolean sec,
boolean prefSec,
RouterInfo rtrInfo,
- boolean collocationOpt)
+ boolean collocationOpt,
+ boolean cacheConnection,
+ Ice.EndpointSelectionType endpointSelection,
+ boolean threadPerConnection)
{
super(inst, com, ident, ctx, fac, md);
_secure = sec;
_preferSecure = prefSec;
_routerInfo = rtrInfo;
_collocationOptimization = collocationOpt;
- _cacheConnection = true;
- _endpointSelection = Ice.EndpointSelectionType.Random;
+ _cacheConnection = cacheConnection;
+ _endpointSelection = endpointSelection;
_overrideCompress = false;
_compress = false;
_overrideTimeout = false;
_timeout = -1;
- _threadPerConnection = inst.threadPerConnection();
+ _threadPerConnection = threadPerConnection;
}
protected void