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