Changeset 16951 in vbox
- Timestamp:
- Feb 19, 2009 3:04:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/glue-jaxws.xsl
r16124 r16951 514 514 { 515 515 while (!initStarted) 516 { 516 { 517 517 try { 518 518 known.wait(); … … 549 549 if (wsdl == null) 550 550 throw new LinkageError("vboxwebService.wsdl not found, but it should have been in the jar"); 551 svc = new VboxService(wsdl, 552 new QName("http://www.virtualbox.org/Service", 551 svc = new VboxService(wsdl, 552 new QName("http://www.virtualbox.org/Service", 553 553 "vboxService")); 554 554 } … … 576 576 protected VboxPortType port; 577 577 578 public IWebsessionManager(URL url) { 578 public IWebsessionManager(URL url) 579 { 579 580 connect(url); 580 581 } 581 582 582 public IWebsessionManager(String url) { 583 public IWebsessionManager(String url) 584 { 583 585 connect(url); 586 } 587 588 public IWebsessionManager(URL url, Map<String, Object> requestContext, Map<String, Object> responseContext) 589 { 590 connect(url.toExternalForm(), requestContext, responseContext); 591 } 592 593 public IWebsessionManager(String url, Map<String, Object> requestContext, Map<String, Object> responseContext) 594 { 595 connect(url, requestContext, responseContext); 584 596 } 585 597 … … 595 607 put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, url); 596 608 } 609 610 public void connect(String url, Map<String, Object> requestContext, Map<String, Object> responseContext) 611 { 612 this.port = pool.getPort(); 613 614 ((BindingProvider)port).getRequestContext(); 615 if (requestContext != null) 616 ((BindingProvider)port).getRequestContext().putAll(requestContext); 617 618 if (responseContext != null) 619 ((BindingProvider)port).getResponseContext().putAll(responseContext); 620 621 ((BindingProvider)port).getRequestContext(). 622 put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, url); 623 } 624 597 625 598 626 public void disconnect(com.sun.xml.ws.commons.virtualbox.IVirtualBox refIVirtualBox)
Note:
See TracChangeset
for help on using the changeset viewer.