Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2424

Separation of Concerns for Spec-Loader-Cache and IsisBeanTypeRegistry

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M5
    • Core
    • None

    Description

      It would be great to get rid of the quick classification stuff in IsisBeanTypeRegistry, because determining the BeanSort is ultimately a meta-model concern (responsibility of the ObjectSpecificationLoader).

      IsisBeanTypeRegistry can only operate before Spring's Context is available, hence does not have access to provisioned services, while the ObjectSpecificationLoader does.

      IsisBeanTypeRegistry's responsibility should be trimmed down to just

      • provide alternative bean naming to override Spring's defaults (objectType="...")
      • determine which types to introspect (inbox for spec-loader)

      BeanSort classification should happen then at a later stage, when Spring's context is available.

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              hobrom Andi Huber
              hobrom Andi Huber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: