You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2014/01/19 23:08:00 UTC
svn commit: r1559590 [3/5] - in /juddi/trunk:
juddi-client/src/main/java/org/apache/juddi/v3/annotations/
juddi-client/src/main/java/org/apache/juddi/v3/client/
juddi-client/src/main/java/org/apache/juddi/v3/client/config/
juddi-client/src/main/java/or...
Modified: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/cryptor/TripleDESCrytor.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/cryptor/TripleDESCrytor.java?rev=1559590&r1=1559589&r2=1559590&view=diff
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/cryptor/TripleDESCrytor.java (original)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/cryptor/TripleDESCrytor.java Sun Jan 19 22:07:59 2014
@@ -75,7 +75,7 @@ public class TripleDESCrytor implements
/**
* generates a new key
- * @return
+ * @return a new key
*/
public static String GEN() {
KeyGenerator kgen;
Modified: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/ServiceLocator.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/ServiceLocator.java?rev=1559590&r1=1559589&r2=1559590&view=diff
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/ServiceLocator.java (original)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/ServiceLocator.java Sun Jan 19 22:07:59 2014
@@ -38,7 +38,7 @@ import org.uddi.api_v3.BusinessService;
/**
* The ServiceLocator contacts the UDDI registry to lookup an Endpoint given a UDDI ServiceKey.
*
- *
+ * @see UDDIClerk.getEndpoints
* @author <a href="mailto:kstam@apache.org">Kurt T Stam</a>
*/
public class ServiceLocator {
@@ -91,7 +91,7 @@ public class ServiceLocator {
* The baseCallbackURL can be set to solve binding issue. If
*
* @param baseCallbackURL
- * @return
+ * @return a service locator object
* @throws ConfigurationException
* @throws BindException
*/
@@ -219,7 +219,8 @@ public class ServiceLocator {
*
* @param serviceQName
* @param portName
- * @return
+ * @return Returns null if no endpoints
+ * are found.
* @throws TransportException
* @throws ConfigurationException
* @throws RemoteException
Modified: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/UDDIClientSubscriptionListenerImpl.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/UDDIClientSubscriptionListenerImpl.java?rev=1559590&r1=1559589&r2=1559590&view=diff
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/UDDIClientSubscriptionListenerImpl.java (original)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/UDDIClientSubscriptionListenerImpl.java Sun Jan 19 22:07:59 2014
@@ -46,7 +46,7 @@ import org.uddi.v3_service.UDDISubscript
public class UDDIClientSubscriptionListenerImpl implements UDDISubscriptionListenerPortType {
- private static Log logger = LogFactory.getLog(UDDIClientSubscriptionListenerImpl.class);
+ private static final Log logger = LogFactory.getLog(UDDIClientSubscriptionListenerImpl.class);
private UDDIServiceCache serviceCache = null;
public UDDIClientSubscriptionListenerImpl(String bindingKey, UDDIServiceCache serviceCache) {
@@ -54,10 +54,14 @@ public class UDDIClientSubscriptionListe
this.serviceCache = serviceCache;
}
- /**
- * The SubscriptionListener is called by the UDDI Server when there is a change to any of the
+
+ /**
+ * The SubscriptionListener is called by the UDDI Server when there is a change to any of the
* services Endpoints. With every call the serviceCache is cleared.
- */
+ * @param body
+ * @return success or fail
+ * @throws DispositionReportFaultMessage
+ */
public DispositionReport notifySubscriptionListener(
NotifySubscriptionListener body)
throws DispositionReportFaultMessage
Modified: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/UDDIServiceCache.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/UDDIServiceCache.java?rev=1559590&r1=1559589&r2=1559590&view=diff
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/UDDIServiceCache.java (original)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/UDDIServiceCache.java Sun Jan 19 22:07:59 2014
@@ -216,7 +216,7 @@ public class UDDIServiceCache implements
/**
* Adds or updates epr information for the given serviceKey.
* @param serviceKey
- * @param eprs
+ * @param topology
*/
public void addService(String serviceKey, Topology topology) {
serviceLocationMap.put(serviceKey, topology);
@@ -233,6 +233,7 @@ public class UDDIServiceCache implements
/**
* Create a subscription for changes in any Service in the Registry
* @throws DatatypeConfigurationException
+ * @param bindingKey the binding key
*/
public void registerSubscription(String bindingKey) throws DatatypeConfigurationException {
Modified: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wadl/WADL2UDDI.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wadl/WADL2UDDI.java?rev=1559590&r1=1559589&r2=1559590&view=diff
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wadl/WADL2UDDI.java (original)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wadl/WADL2UDDI.java Sun Jan 19 22:07:59 2014
@@ -247,8 +247,9 @@ public class WADL2UDDI {
*
* @param serviceQName This must be specified to identify the namespace of
* the service, which is used to set the service uddi key
- * @param waldDefinition
- * @return
+ * @param wadlDefinition
+ * @return BusinessService
+ * @throws MalformedURLException
*/
public BusinessService createBusinessService(QName serviceQName, Application wadlDefinition) throws MalformedURLException {
@@ -404,7 +405,7 @@ public class WADL2UDDI {
/**
* parses a wadl from stream
* @param stream
- * @return
+ * @return Application instance (WADL FILE)
*/
public static Application parseWadl(InputStream stream) {
Application unmarshal = JAXB.unmarshal(stream, Application.class);
@@ -415,7 +416,7 @@ public class WADL2UDDI {
/**
* parses a wadl from a URL or file
* @param file
- * @return
+ * @return Application instance (WADL FILE)
*/
public static Application parseWadl(URL file) {
Application unmarshal = JAXB.unmarshal(file, Application.class);
Modified: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wsdl/BPEL2UDDI.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wsdl/BPEL2UDDI.java?rev=1559590&r1=1559589&r2=1559590&view=diff
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wsdl/BPEL2UDDI.java (original)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wsdl/BPEL2UDDI.java Sun Jan 19 22:07:59 2014
@@ -49,7 +49,6 @@ import org.uddi.api_v3.AccessPoint;
import org.uddi.api_v3.BindingTemplate;
import org.uddi.api_v3.BusinessService;
import org.uddi.api_v3.CategoryBag;
-import org.uddi.api_v3.Description;
import org.uddi.api_v3.FindBinding;
import org.uddi.api_v3.FindTModel;
import org.uddi.api_v3.GetTModelDetail;
@@ -151,6 +150,7 @@ public class BPEL2UDDI extends Annotatio
* @param portName - portName of the service
* @param serviceUrl - URL at which the service can be invoked
* @param wsdlDefinition - WSDL Definition of the Web Service
+ * @return a binding template
* @throws WSDLException
* @throws MalformedURLException
* @throws TransportException
@@ -261,7 +261,7 @@ public class BPEL2UDDI extends Annotatio
/**
* Perform a lookup by serviceKey, and will return null if not found.
* @param serviceKey
- * @return
+ * @return a business service
* @throws RemoteException
* @throws ConfigurationException
* @throws TransportException
@@ -276,8 +276,8 @@ public class BPEL2UDDI extends Annotatio
* Registers the Service into UDDI.
*
* @param serviceName
- * @param wsldDefinition
- * @return
+ * @param wsdlDefinition
+ * @return a business service
*/
public BusinessService createBusinessService(QName serviceName, Definition wsdlDefinition) {
@@ -475,8 +475,8 @@ public class BPEL2UDDI extends Annotatio
/** Finds and returns ALL the tModels related to the process, so that i.e. they
* can be removed on undeployment of the service.
*
- * @param processName
- * @return
+ * @param serviceName
+ * @return a tModel if found
*/
public FindTModel createFindTModelForProcessName (QName serviceName) {
@@ -507,7 +507,7 @@ public class BPEL2UDDI extends Annotatio
* Find all processes that use the given portType.
*
* @param portTypeKey
- * @return
+ * @return tmodel info
*/
public FindTModel createFindProcessesForPortTypes(String portTypeKey) {
FindTModel findTModel = new FindTModel();
@@ -543,7 +543,7 @@ public class BPEL2UDDI extends Annotatio
* Once retrieved, the second call is made to get the tModel registrations
* for the portTypes with the keys found in the first step.
*
- * @param tModelKeys - List of portType tModels found in the first step.
+ * @param portTypeTModelKeys - List of portType tModels found in the first step.
* @return GetTModelDetail
*/
public GetTModelDetail createFindAllPortTypesForProcess_2(List<String> portTypeTModelKeys) {
Modified: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wsdl/ReadWSDL.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wsdl/ReadWSDL.java?rev=1559590&r1=1559589&r2=1559590&view=diff
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wsdl/ReadWSDL.java (original)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/wsdl/ReadWSDL.java Sun Jan 19 22:07:59 2014
@@ -74,7 +74,6 @@ public class ReadWSDL {
* @param wsdlUrl
* @param username
* @param password
- * @param domain
* @return a Definition object representing the WSDL
* @throws WSDLException
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org