Re: Don't export a service from within its contructor

2013-05-24 Thread Peter
Sounds like a good proposal, River 3.0. Thoughts? Peter. - Original message - > My "startnow" project on java.net, has always provide a "separation" of > construction and start of the service export.  However, the usage of that API > is > supposed to be something like the following. >

Re: Don't export a service from within its contructor

2013-05-24 Thread Gregg Wonderly
My "startnow" project on java.net, has always provide a "separation" of construction and start of the service export. However, the usage of that API is supposed to be something like the following. public class MyService extends PersistentJiniService { public static void main( String arg

Don't export a service from within its contructor

2013-05-23 Thread Peter Firmstone
No really, don't. The test failure on arm that has been really driving me nuts for the last month is finally solved, guess what was the cause of the problem? That's right unsafe publication. The "this" reference was published to JERI's ObjectTable prior to construction completing, other thre