and this ensure that another instance cannot be created if someone
calls getService or createInstance again ? Seen unlikely. Wouldn't
subsequent calls to getService call the factory for another instance?
On May 25, 2006, at 4:03 PM, Nickolay Ponomarev wrote:
On 5/26/06, Byron Wright <[EMAIL PROTECTED]> wrote:
From my limited understanding of XPCOM it would seem that I can
create a single instance of my object in my factory and return that
in "createInstance". An example of my thoughts might be better:
Just create a normal component and use .getService instead of
.createInstance to get it.
Nickolay
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom