This content has been marked as final.
Show 1 reply
-
1. Re: network registry hold local servers?
tom.elrod Mar 17, 2005 1:50 PM (in response to mazz)NetworkRegistry will only contain servers from remote JVMs. I think I may have documentation that suggests otherwise (and if so and you know where that is, can you point it out for me?). It will only be populated if you have a detector running locally as well.
If want just local servers, can call:
ServerInvoker invokers[] = InvokerRegistry.getServerInvokers();
I can add code for the connector to look for a NetworkRegistry locally and add its local server. Do you think this is needed? One of the reasons I have not done this to date is the remoting client/server can run without JMX, but NetworkRegistry and Detectors require it.