[
https://issues.apache.org/jira/browse/RIVER-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796905#action_12796905
]
Peter Firmstone commented on RIVER-325:
---------------------------------------
>From river dev mail list:
Gregg Wonderly wrote:
> Are there any other issues that we need to deal with in adding a new
> constructor? I am wondering about "net.jini.discovery.timeout" as a system
> property. Do we want to provide the ability to pass this into the
> constructor too? I have cases where I want this to be short for some
> locators and long for others, but have to go with the global setting because
> of this implementation detail.
The LookupLocator is (in part) a value object. Its role, one of them, is
pointing to the place where we can find a Registry. I did a scan of the
sources, and i cannot find a place where another jini class actually retrieves
the registry from the LookupLocator.
So any implementation that retrieves the ServiceRegistrar can set the
individual timeout for the lookup with:
public ServiceRegistrar getRegistrar(int timeout)
I can foresee situations where this method isn't very helpfull to solve the
problem of per-locator timeouts.
Gr. Sim
> LookupLocator is missing ways to specify SocketFactory
> ------------------------------------------------------
>
> Key: RIVER-325
> URL: https://issues.apache.org/jira/browse/RIVER-325
> Project: River
> Issue Type: Improvement
> Components: net_jini_discovery
> Reporter: Sim IJskes
> Priority: Minor
> Attachments: LookupLocator.java.patch
>
>
> LookupLocator has no way to specify a SocketFactory.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.