[SWS-787] MethodEndpoint.getBean is inconsistent with its API Created: 23/Jul/12  Updated: 07/Aug/12  Resolved: 07/Aug/12

Status: Resolved
Project: Spring Web Services
Component/s: Core
Affects Version/s: 2.0.4
Fix Version/s: 2.1.1

Type: Bug Priority: Minor
Reporter: Hans-Peter Störr Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 0.1h
Original Estimate: Not Specified


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.

Comment by Arjen Poutsma [ 07/Aug/12 ]


Generated at Wed Jul 17 14:31:16 UTC 2019 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.