Can I assign a ServiceID myself?
Bryan Thompson <[email protected]> Sat, 17 Jan 2009 17:48:39 -0600
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am using a non-persistent reggie. I have been waiting to be discovered and then taking the assigned ServiceID. However, I am wondering if I can assign a random ServiceID myself. This would be an advantage to me in an integration context where I would like to register the ServiceID somewhere else before the service is actually started. Can I generate my own using UUID.randomUUID(), convert it into a ServiceID, and then call the alternate JoinManager ctor that accepts a pre-assigned ServiceID? It's all UUIDs. Does it make a difference who assigns it? Does it make a different if I am using persistent reggie? Thanks, -bryan -------------------------------------------------------------------------- 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]