-1

is it possible to get all bound Stubs (hope this is right) and their url? Is that possible?

To improve my Question i give you a Code sample like:

(Binding)

    Registry registry = LocateRegistry.createRegistry(1099);
    registry.bind(url+"//ServiceX", new RMIServiceX());

(my attempt)

registry.getAllBinds

or

registry.getAllUrl

I only need something to test my Url and Stubs. I hope im not to far from Reality.

Im very Thankfull for every comment or Answer i get.

user207421
  • 305,947
  • 44
  • 307
  • 483
Artur Rem
  • 209
  • 1
  • 4
  • 18

1 Answers1

1

Just call list() to get all the URLs, and then for each URL call lookup() to get the corresponding stub.

user207421
  • 305,947
  • 44
  • 307
  • 483