We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a9eba7 commit ed43108Copy full SHA for ed43108
core/src/main/java/org/springframework/ws/server/endpoint/MethodEndpoint.java
@@ -128,11 +128,7 @@ public MethodParameter getReturnType() {
128
* @throws Exception when the method invocation results in an exception
129
*/
130
public Object invoke(Object... args) throws Exception {
131
- Object endpoint = bean;
132
- if (endpoint instanceof String) {
133
- String endpointName = (String) endpoint;
134
- endpoint = beanFactory.getBean(endpointName);
135
- }
+ Object endpoint = getBean();
136
ReflectionUtils.makeAccessible(method);
137
try {
138
return method.invoke(endpoint, args);
0 commit comments