juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcunn...@apache.org
Subject svn commit: r777769 - /webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionListenerImpl.java
Date Sat, 23 May 2009 02:20:03 GMT
Author: tcunning
Date: Sat May 23 02:20:03 2009
New Revision: 777769

URL: http://svn.apache.org/viewvc?rev=777769&view=rev
Log:
JUDDI-196
Commit changes to SubscriptionListener.

Modified:
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionListenerImpl.java

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionListenerImpl.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionListenerImpl.java?rev=777769&r1=777768&r2=777769&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionListenerImpl.java
(original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionListenerImpl.java
Sat May 23 02:20:03 2009
@@ -32,6 +32,7 @@
 import org.apache.juddi.error.FatalErrorException;
 import org.apache.juddi.model.UddiEntityPublisher;
 import org.apache.juddi.validation.ValidateSubscriptionListener;
+import org.apache.juddi.util.NotificationList;
 import org.apache.log4j.Logger;
 import org.uddi.api_v3.DispositionReport;
 import org.uddi.api_v3.Result;
@@ -57,15 +58,17 @@
 			marshaller.marshal(body, sw);
 
 			logger.info("Notification received by UDDISubscriptionListenerService : " + sw.toString());
+			
+			NotificationList nl = NotificationList.getInstance();
+			nl.getNotifications().add(sw.toString());
+			
 			System.out.println("Notification received by UDDISubscriptionListenerService : " 
 					+ sw.toString());
 
 		} catch (JAXBException jaxbe) {
 			logger.error("", jaxbe);
 			throw new FatalErrorException(new ErrorMessage("errors.subscriptionnotifier.client"));
-		}
-		
-		
+		}	
 		
 		new ValidateSubscriptionListener().validateNotification(body);
 			
@@ -74,5 +77,4 @@
 		dr.getResult().add(res);
 		return dr;
 	}
-
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org


Mime
View raw message