Re: class name?
Bob Scheifler <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
> Mmmm, my services also get names like $Proxy8 when I see them in the > Service Browser from the JTSK. > > Can anybody explain me what changes are required for them to display a > descriptive name, such as net.zigor.myservice.myinterface? The algorithm used by the browser is that it takes the interfaces directly implemented by the proxy class and each superclass of the proxy class, and then removes all of the "uninterestingInterfaces" (there's a browser configuration entry that you can use to specify these). If at the end there's just one interface left, the browser displays that one, otherwise it displays the proxy class name. So one way to get a better display is to put more interfaces into "uninterestingInterfaces". - Bob -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]