Author: ericjohnson
Date: Wed Dec 17 14:59:16 2008
New Revision: 727568
URL: http://svn.apache.org/viewvc?rev=727568&view=rev
Log:
made sure developer knows the QName is a service name
Modified:
cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/ServiceContractResolver.java
cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/ServiceContractResolverRegistry.java
Modified:
cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/ServiceContractResolver.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/ServiceContractResolver.java?rev=727568&r1=727567&r2=727568&view=diff
==============================================================================
---
cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/ServiceContractResolver.java
(original)
+++
cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/ServiceContractResolver.java
Wed Dec 17 14:59:16 2008
@@ -24,16 +24,16 @@
import javax.xml.namespace.QName;
/**
- * A <code>ServiceContractResolver</code> resolves QNames into URIs for
- * WSDL contracts. They provide a method for locating WSDL contracts at
- * runtime.
+ * A <code>ServiceContractResolver</code> resolves a service's QName to the URI
+ * of the service's WSDL contract.
*/
public interface ServiceContractResolver {
/**
- * Resolves a QName to a URI representing the location of a WSDL contract.
- * This method is called by the
<code>ServiceContractResolverRegistry</code>
- * with which the contract resolver is registered.
+ * Resolves a service's QName to a URI representing the location of a WSDL
+ * contract. This method is called by the
+ * <code>ServiceContractResolverRegistry</code> with which the contract
+ * resolver is registered.
*
* @param qname the QName being mapped to a URI
* @return URI representing the location of a WSDL contract
Modified:
cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/ServiceContractResolverRegistry.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/ServiceContractResolverRegistry.java?rev=727568&r1=727567&r2=727568&view=diff
==============================================================================
---
cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/ServiceContractResolverRegistry.java
(original)
+++
cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/ServiceContractResolverRegistry.java
Wed Dec 17 14:59:16 2008
@@ -29,12 +29,12 @@
public interface ServiceContractResolverRegistry {
/**
- * Resolves a QName to a URI respresenting the location of a WSDL contract.
- * The registry method is called by the bus and should use the
- * <code>getContractLocation</code> methods of the registered contract
+ * Resolves a service's QName to a URI respresenting the location of a
+ * WSDL contract. The registry method is called by the bus and should use
+ * the <code>getContractLocation</code> methods of the registered contract
* resolvers to do the actual resolution.
*
- * @param qname the qname to resolve into a URI
+ * @param qname the service qname to resolve into a URI
* @return URI representing the WSDL contract's location
*/
URI getContractLocation(QName qname);