Re: Bootstrap stubs with fixed UUIDs

Peter Jones <[email protected]> Mon, 16 Mar 2009 15:08:40 -0400
Newsgroups gmane.comp.java.sun.jini
Message-ID <20090316190840.GA3279@east>
On Sun, Mar 15, 2009 at 01:54:53AM -0600, Esmond Pitt wrote:
> How do you construct these? e.g. if I want to build a JERI Registry,
> or export the Activation System via JERI, how do I build the local
> bootstrap stub?

You can construct it from the bottom up: first create an Endpoint,
then create an ObjectEndpoint (with the fixed UUID) containing that
Endpoint, then an InvocationHandler containing that ObjectEndpoint,
finally wrapping the result in a dynamic proxy.

-- Peter

--------------------------------------------------------------------------
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]