Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1070

Refactor RepositoryComponent/s

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.8.1
    • Data-Module
    • None

    Description

      Currently a RepositoryComponent is initialized during PAT. Therefore RepositoryComponent requires a lazyInit.
      If we move the actual creation of the RepositoryComponent's to AfterBeanDiscovery, we don't need such lazy init "hacks".

      IMO we should also split the RepositoryComponent into a data object and a initializer as it currently feels very unstructured.
      Same applies for the RepositoryMethod and RepositoryEntity.

      We could also allign the naming a little bit:
      RepositoryComponents -> something MetadataStore or MetadataManager
      RepositoryComponent -> RepositoryMetadata
      RepositoryMethod -> RepositoryMethodMetadata
      RepositoryEntity -> EntityMetadata

      Attachments

        Activity

          People

            tandraschko Thomas Andraschko
            tandraschko Thomas Andraschko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: