Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-253

FindMethod and FindMethodOnResource should be accessible from BaseDelegatingSubclassHandler

    Details

    • Complexity:
      Low

      Description

      Subclass Handlers cannot use the DelegatingResource technique

      description.addProperty("auditInfo", findMethod("getAuditInfo");
      

      They should be able to use FindMethod and FindMethodOnResource, probably by moving those functions up a level in the inheritance structure.

      Workaround suggested by Darius:

      Method m = ReflectionUtils.findMethod(getResource().getClass(),
        "getAuditInfo", (Class<?>[]) null);
      description.addProperty("auditInfo", m);
      

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  harsha89 Harsha Kumara
                  Reporter:
                  r.friedman Roger Friedman
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 3 hours
                    3h