Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4313643

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: