ignore client proxies for export
This commit is contained in:
parent
3cfac84bff
commit
59d9f73f46
|
|
@ -110,23 +110,25 @@ public abstract class AbstractJaxWsServiceExporter implements BeanFactoryAware,
|
||||||
for (String beanName : beanNames) {
|
for (String beanName : beanNames) {
|
||||||
try {
|
try {
|
||||||
Class<?> type = this.beanFactory.getType(beanName);
|
Class<?> type = this.beanFactory.getType(beanName);
|
||||||
WebService wsAnnotation = type.getAnnotation(WebService.class);
|
if (type != null && !type.isInterface()) {
|
||||||
WebServiceProvider wsProviderAnnotation = type.getAnnotation(WebServiceProvider.class);
|
WebService wsAnnotation = type.getAnnotation(WebService.class);
|
||||||
if (wsAnnotation != null || wsProviderAnnotation != null) {
|
WebServiceProvider wsProviderAnnotation = type.getAnnotation(WebServiceProvider.class);
|
||||||
Endpoint endpoint = Endpoint.create(this.beanFactory.getBean(beanName));
|
if (wsAnnotation != null || wsProviderAnnotation != null) {
|
||||||
if (this.endpointProperties != null) {
|
Endpoint endpoint = Endpoint.create(this.beanFactory.getBean(beanName));
|
||||||
endpoint.setProperties(this.endpointProperties);
|
if (this.endpointProperties != null) {
|
||||||
|
endpoint.setProperties(this.endpointProperties);
|
||||||
|
}
|
||||||
|
if (this.executor != null) {
|
||||||
|
endpoint.setExecutor(this.executor);
|
||||||
|
}
|
||||||
|
if (wsAnnotation != null) {
|
||||||
|
publishEndpoint(endpoint, wsAnnotation);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
publishEndpoint(endpoint, wsProviderAnnotation);
|
||||||
|
}
|
||||||
|
this.publishedEndpoints.add(endpoint);
|
||||||
}
|
}
|
||||||
if (this.executor != null) {
|
|
||||||
endpoint.setExecutor(this.executor);
|
|
||||||
}
|
|
||||||
if (wsAnnotation != null) {
|
|
||||||
publishEndpoint(endpoint, wsAnnotation);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
publishEndpoint(endpoint, wsProviderAnnotation);
|
|
||||||
}
|
|
||||||
this.publishedEndpoints.add(endpoint);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (CannotLoadBeanClassException ex) {
|
catch (CannotLoadBeanClassException ex) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue