river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregg Wonderly <gr...@wonderly.org>
Subject Re: OutriggerImpl starts thread in constructor
Date Sat, 16 Mar 2013 03:03:08 GMT
I'd suggest that we add a new interface that com.sun.jini.start provides which 
lets all of the services declare this behavior, and let ServerStarter then have 
something concrete to use.
ServiceDescriptor.create() could return this interface instead of Object.

Gregg Wonderly

On 3/15/2013 9:18 PM, Peter Firmstone wrote:
> I'd like to add a start() method to OutriggerImpl, so I can delay any threads 
> from being started until after construction is complete.
> This is required for safe publication to comply with the JMM.
> Before doing so, I'd like to know how people are using Outrigger, so I can 
> minimise unintended consequences / breakages.
> Comments, opinions and thoughts?
> Regards,
> Peter.

View raw message