Bryan Thompson
2009-01-17 23:48:39 UTC
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 ***@java.sun.com
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 ***@java.sun.com