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:26:43 GMT
Looking around briefly, it seems that there is a not so great set of returned 
values from ServiceDescriptor.create() with activation returning the RMI GID. So 
a little more work to wrap everything into something implementing an interface 
with lifecycle management in it would be required.

Gregg


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


Mime
View raw message