Object Factory Version 2.2.0
STATUS KEY : Specification Design and Architecture Development and Testing Complete
Provides a generic infrastructure for dynamic object creation at run-time.
FunctionalityThe Object Factory component provides a generic infrastructure for dynamic object creation at run-time. Using an object factory facilitates designing a broader solution by allowing the specific details of the instantiated class to be designed at a later time.
An example of the Object Factory is the instantiation of a Color class. The client asks the factory for the 'ColorRed' class and the factory returns 'ColorBrightRed' or 'ColorDarkRed' depending on the configuration of the component. The client is responsible for casting the object to the correct type.
Adobe Acrobat is required to view TopCoder Software specification documentation.