Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-787

MethodEndpoint.getBean is inconsistent with its API

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.1.1
    • Component/s: Core
    • Labels:
      None

      Description

      The API description of MethodEndpoint.getBean says "Returns the object bean for this method endpoint." But if the constructor with a BeanFactory argument is used, it actually returns the bean name (String) instead of the actual bean!

      You might correct the documentation, but I'd much prefer if you fix the implementation to do as the documentation says, since currently you need to get hold of the BeanFactory as well to get to the endpoint object, and the MethodEndpoint does not provide it.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        14d 21h 21m 1 Arjen Poutsma 07/Aug/12 2:45 AM
        In Progress In Progress Resolved Resolved
        6m 45s 1 Arjen Poutsma 07/Aug/12 2:52 AM

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            hpstoerr Hans-Peter Störr
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - Not Specified
              Not Specified
              Logged:
              Time Spent - 0.1h
              0.1h