Uploaded image for project: 'Spring Data GemFire'
  1. Spring Data GemFire
  2. SGF-452

Support Function Executions from Repositories

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    Description

      This feature request is meant to track the research and development of supporting Function Execution definitions in Spring Data Repositories.

      Since all Repositories operate from the perspective of a GemFire Region (associated with @Region annotated domain object, or even the Repo annotated with @Region itself), then effectively, all Function Executions defined in the application Repository interface will execute @OnRegion.

      This might look a little something like this...

      @Region("Orders")
      class Order { .. }
      
      interface OrderRepository implements GemfireRepository<Order, Long> {
      
        List<Order> findByOrderId(Long id);
        ...
        @Function
        void processOrders(Status status, ...);
      
      

      Attachments

        Activity

          People

            jblum John Blum
            jblum John Blum
            Archiver:
            tmarshall Trevor Marshall
            John Blum John Blum

            Dates

              Created:
              Updated:
              Archived: