ignore client proxies for export
This commit is contained in:
parent
3cfac84bff
commit
59d9f73f46
|
|
@ -110,6 +110,7 @@ public abstract class AbstractJaxWsServiceExporter implements BeanFactoryAware,
|
|||
for (String beanName : beanNames) {
|
||||
try {
|
||||
Class<?> type = this.beanFactory.getType(beanName);
|
||||
if (type != null && !type.isInterface()) {
|
||||
WebService wsAnnotation = type.getAnnotation(WebService.class);
|
||||
WebServiceProvider wsProviderAnnotation = type.getAnnotation(WebServiceProvider.class);
|
||||
if (wsAnnotation != null || wsProviderAnnotation != null) {
|
||||
|
|
@ -129,6 +130,7 @@ public abstract class AbstractJaxWsServiceExporter implements BeanFactoryAware,
|
|||
this.publishedEndpoints.add(endpoint);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (CannotLoadBeanClassException ex) {
|
||||
// ignore beans where the class is not resolvable
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue