// }//endif
// change to set unconditionally
lookupProxy.setLocator(lookupLocator);
/* add new configration entries from the davis reggie implementation */
Configuration config = qaConfig.getConfiguration();
MethodConstraints discoveryConstraints = null;
try {
try {
multicastInterfaces = (NetworkInterface[]) config.getEntry(
"test", "multicastInterfaces", NetworkInterface[].class);
multicastInterfacesSpecified = true;
} catch (NoSuchEntryException e) {
List l = Collections.list(NetworkInterface.getNetworkInterfaces());
multicastInterfaces = (NetworkInterface[])
l.toArray(new NetworkInterface[l.size()]);
multicastInterfacesSpecified = false;
}
// multicastAnnouncementInterval = Config.getLongEntry(
// config, "test", "multicastAnnouncementInterval",
// multicastAnnouncementInterval, 1, Long.MAX_VALUE);
multicastAnnouncementInterval =
qaConfig.getLongConfigVal("net.jini.discovery.announce", 120000);
discoveryConstraints =
(MethodConstraints) config.getEntry(
"test", "discoveryConstraints",
MethodConstraints.class, null);
if (discoveryConstraints == null) {
discoveryConstraints =
new BasicMethodConstraints(InvocationConstraints.EMPTY);