Using TopCoder

Java

Object Factory Version 2.2.0

STATUS KEY : Specification Design and Architecture Development and Testing Complete
  • Overview

    Provides a generic infrastructure for dynamic object creation at run-time.

  • Functionality

    The 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.
  • Technologies

    Java, XML

    Availability

    Version 2.2.0
Adobe Acrobat is required to view TopCoder Software specification documentation.
  Java Base Exception 20080227 Encapsulates custom exception functionality. more Download