Re: java.rmi.UnmarshalException
liang li <[email protected]> Fri, 16 May 2008 17:26:44 +0800
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
thanks, bob i mock the hello example,you know hello example display normal class name like ***.***.***.hello.Hello. i tried your way, the problem still. best regards byron lee 2008/5/16, Bob Scheifler <[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]