ESBCOMP-116 Get descriptor in sync mode

master
David BRASSELY 2014-09-24 16:48:50 +02:00
parent a84c0f4785
commit 40516e129b
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ public abstract class AbstractEndpoint
return null;
}
public ByteBuffer getServiceDescriptorAsByteBuffer() {
public synchronized ByteBuffer getServiceDescriptorAsByteBuffer() {
try {
WSDLFactory wsdlFactory = (WSDLFactory)WSDLFactory.newInstance();
WSDLWriter writer = (WSDLWriter)wsdlFactory.newWSDLWriter();