File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.rmi.Naming.Lookup Problems

 
Nolan Evans
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to extend functionality of java.rmi.Naming.lookup() so when lookup is called from client, it will wrap the stub and do additional functionalities. So I make a new class called Naming with a method lookup that has this functionalities.

But, I don't know how to enforce client to use my Naming class instead of the default java.rmi.Naming. Any suggestions?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic