ComponentManager->getComponent() throws an exception on trying to retrieve a component of prototype scope
Updated by Robert Lemke almost 13 years ago
- Status changed from New to Closed
After experimenting with it, I realized that the Component Manager must still be able to return also prototypes, because there simply are situtations in which the client code doesn't know if the target component is prototype or singleton.
Still, getComponent() is rather a low-level infrastructure method than one that should be used everywhere.