Re: java.rmi.UnmarshalException
Bob Scheifler <[email protected]> Thu, 15 May 2008 20:46:33 -0400
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
> when i export an service i only see Proxy$XX in service browser? not a > meaning service name, for example:Log4JiniImpl. > could anybody tell me how to do? If you mean the service browser that's in the Starter Kit, that browser has a configuration entry, "uninterestingInterfaces", and from the documentation for that entry: "If the service proxy implements exactly one interface that is not in this list, the name of that interface is used to name the service, otherwise the concrete class of the service proxy is used." What you are seeing is the concrete class, because your service implements more than one interesting interface. You can either hack the browser code to do something better, or you can add more interfaces to the configuration entry. - 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]