com.sun.xml.ws.mex.client
Class MetadataResolverImpl

java.lang.Object
  extended by com.sun.xml.ws.api.wsdl.parser.MetaDataResolver
      extended by com.sun.xml.ws.mex.client.MetadataResolverImpl

public class MetadataResolverImpl
extends MetaDataResolver

Plugin to wsimport for mex/ws-transfer requests.


Constructor Summary
protected MetadataResolverImpl()
           
 
Method Summary
 ServiceDescriptor resolve(URI location)
          This method is called by JAX-WS code to retrieve metadata.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataResolverImpl

protected MetadataResolverImpl()
Method Detail

resolve

public ServiceDescriptor resolve(URI location)
This method is called by JAX-WS code to retrieve metadata. The contract is that, if there are problems trying to get the metadata with mex, this method returns null and the JAX-WS code can try retrieving it another way (for instance, with a ?wsdl http GET call).

Specified by:
resolve in class MetaDataResolver
Parameters:
location - metadata location
Returns:
ServiceDescriptor resolved from the location. It may be null in the cases when MetadataResolver can get the metada associated with the metadata loction.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.