summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/DirectReference.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/DirectReference.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/DirectReference.java')
-rw-r--r--java/src/IceInternal/DirectReference.java13
1 files changed, 9 insertions, 4 deletions
diff --git a/java/src/IceInternal/DirectReference.java b/java/src/IceInternal/DirectReference.java
index 614990baf82..ba7a73058b9 100644
--- a/java/src/IceInternal/DirectReference.java
+++ b/java/src/IceInternal/DirectReference.java
@@ -22,9 +22,13 @@ public class DirectReference extends RoutableReference
boolean prefSec,
EndpointI[] endpts,
RouterInfo rtrInfo,
- boolean collocationOpt)
+ boolean collocationOpt,
+ boolean cacheConnection,
+ Ice.EndpointSelectionType endpointSelection,
+ boolean threadPerConnection)
{
- super(inst, com, ident, ctx, fs, md, sec, prefSec, rtrInfo, collocationOpt);
+ super(inst, com, ident, ctx, fs, md, sec, prefSec, rtrInfo, collocationOpt, cacheConnection, endpointSelection,
+ threadPerConnection);
_endpoints = endpts;
}
@@ -111,8 +115,9 @@ public class DirectReference extends RoutableReference
getInstance().locatorManager().get(getInstance().referenceFactory().getDefaultLocator());
return getInstance().referenceFactory().create(getIdentity(), getContext(), getFacet(), getMode(),
getSecure(), getPreferSecure(), newAdapterId, getRouterInfo(),
- locatorInfo, getCollocationOptimization(),
- getLocatorCacheTimeout());
+ locatorInfo, getCollocationOptimization(), getCacheConnection(),
+ getEndpointSelection(), getThreadPerConnection(),
+ getLocatorCacheTimeout());
}
public Reference