Hi,
I have managers I am implementing singletons with.
I am trying to stick to the singleton pattern. I see that yor singletons are
registered in the systemManager frame 2 handler.
I also see that you are not using registerInitCallbacks() anymore.
So the question is... Where do I put my line of code that registers the
implementation class with the Singleton class map?
IE you have
Singleton.registerClass("mx.managers::ICursorManager",
Class(getDefinitionByName("mx.managers::CursorManagerImpl")));
I want
Singleton.registerClass("com.teotiGraphix.manager::IMoveManager",
Class(getDefinitionByName("com.teotiGraphix.manager::MoveMangerImpl")));
Also, why do you use the interface name when registering the class, is that
so others can override you implementation? (with the same register call)...
This is the first time I actually thought about it this way. ;-)
Peace, Mike
PS I have been kind holding back on releasing components thus far because I
wanted my managers piped into this new algorithm.
--
Teoti Graphix
http://www.teotigraphix.com
Blog - Flex2Components
http://www.flex2components.com
You can find more by solving the problem then by 'asking the question'.