Discovering subclasses: need to discover all subclasses of some base class

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.3.0
    • Component/s: core-libs
    • generic
    • generic



      Name: skT88420 Date: 02/17/2000


      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      Feature to discover all subclasses of some base class, even if this would be
      limited to all subclasses present in one package. This would enable us to make
      a factory of instances without hardcoding the classnames in the factory class,
      they could be instantiated through reflection...

      Example
        Person -> Employee
               -> Manager
      It would be nice to discover you can do something with employees or managers,
      and when a class Customer is added, the application can discover this
      dynamically.
      (Review ID: 101370)
      ======================================================================

            Assignee:
            Zhenghua Li (Inactive)
            Reporter:
            Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: