Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-3964

Update StoreConfiguration.store() to return a Generic Store.

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • None
    • None
    • None
    • None

    Description

      Currently StoreConfiguration.store() returns a Store implementation that does not have a generic type. This means we have to cast to get the generic types working correctly. Upon doing some research all store types EXCEPT for memory store are generic. We will update memory store to be generic and refactor the config classes to return stores with the proper generic type.

      See :

       store = (SQLStore<Message>) DataManager.config("messageStore", SQLStoreConfiguration.class)
                    .withContext(context)
                    .forClass(Message.class)
                    .store();
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            supittma@redhat.com Summers Pittman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: