[Backgroundrb-devel] Singleton-like Worker

Michael Siebert info at siebert-wd.de
Wed Aug 23 14:33:53 EDT 2006


Hello there,
I need a Worker Class to be Singleton-like, that means there must be at
maximum one Instance at a time. When a new Request is made to create another
worker of this type, it should return and wait for the other instance to be
destroyed.

what i need to do: i have a worker who needs to do sth with java and
openoffice, and it seems when i have more tha one worker simultaneously,
everything goes terribly wrong...

is there already sth in bgdrb or how would i do that?

-- 
Michael Siebert <info at siebert-wd.de>

www.siebert-wd.de - Gedanken lesen
www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060823/556e6625/attachment.html 


More information about the Backgroundrb-devel mailing list