You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by tc...@apache.org on 2009/05/24 04:44:12 UTC
svn commit: r778076 - in
/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets:
client/ client/service/ server/ server/service/
Author: tcunning
Date: Sun May 24 02:44:11 2009
New Revision: 778076
URL: http://svn.apache.org/viewvc?rev=778076&view=rev
Log:
JUDDI-196
Add comment headers, change the URL to use the servlet scheme, port, and host.
Modified:
webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/NotifyPanel.java
webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/service/NotifyService.java
webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/service/NotifyServiceAsync.java
webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/UDDISubscriptionNotificationPortlet.java
webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/service/NotifyServiceImpl.java
Modified: webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/NotifyPanel.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/NotifyPanel.java?rev=778076&r1=778075&r2=778076&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/NotifyPanel.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/NotifyPanel.java Sun May 24 02:44:11 2009
@@ -28,6 +28,11 @@
import com.google.gwt.user.client.ui.TreeListener;
import com.google.gwt.user.client.ui.VerticalPanel;
+/**
+ *
+ * @author <a href="mailto:tcunning@apache.org">Tom Cunningham</a>
+ *
+ */
public class NotifyPanel extends VerticalPanel {
private UDDISubscriptionNotification notification = null;
Modified: webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/service/NotifyService.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/service/NotifyService.java?rev=778076&r1=778075&r2=778076&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/service/NotifyService.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/service/NotifyService.java Sun May 24 02:44:11 2009
@@ -18,6 +18,7 @@
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
+
/**
*
* @author <a href="mailto:tcunning@apache.org">Tom Cunningham</a>
Modified: webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/service/NotifyServiceAsync.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/service/NotifyServiceAsync.java?rev=778076&r1=778075&r2=778076&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/service/NotifyServiceAsync.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/service/NotifyServiceAsync.java Sun May 24 02:44:11 2009
@@ -18,6 +18,7 @@
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.RemoteService;
+
/**
*
* @author <a href="mailto:tcunning@apache.org">Tom Cunningham</a>
Modified: webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/UDDISubscriptionNotificationPortlet.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/UDDISubscriptionNotificationPortlet.java?rev=778076&r1=778075&r2=778076&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/UDDISubscriptionNotificationPortlet.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/UDDISubscriptionNotificationPortlet.java Sun May 24 02:44:11 2009
@@ -9,6 +9,11 @@
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
+/**
+ *
+ * @author <a href="mailto:tcunning@apache.org">Tom Cunningham</a>
+ *
+ */
public class UDDISubscriptionNotificationPortlet extends GenericPortlet
{
protected void doView(RenderRequest renderRequest, RenderResponse renderResponse)
Modified: webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/service/NotifyServiceImpl.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/service/NotifyServiceImpl.java?rev=778076&r1=778075&r2=778076&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/service/NotifyServiceImpl.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/service/NotifyServiceImpl.java Sun May 24 02:44:11 2009
@@ -57,6 +57,7 @@
import org.uddi.v3_service.UDDISubscriptionListenerPortType;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
+
/**
*
* @author <a href="mailto:tcunning@apache.org">Tom Cunningham</a>
@@ -68,24 +69,17 @@
private Transport transport = null;
public NotifyServiceImpl() {
- super();
+ super();
}
- private Transport getTransport()
- throws ConfigurationException, ClassNotFoundException, InstantiationException, IllegalAccessException {
- if (transport==null) {
- String clazz = ClientConfig.getConfiguration().getString(Property.UDDI_PROXY_TRANSPORT,Property.DEFAULT_UDDI_PROXY_TRANSPORT);
- Class<?> transportClass = Loader.loadClass(clazz);
- transport = (Transport) transportClass.newInstance();
- }
- return transport;
- }
-
public NotifyResponse getSubscriptionNotifications(String authToken)
{
NotifyResponse response = new NotifyResponse();
try {
- URL url = new URL("http", "localhost", 8080, "/subscription-listener/notify/");
+ URL url = new URL(getThreadLocalRequest().getScheme(),
+ getThreadLocalRequest().getRemoteHost(),
+ getThreadLocalRequest().getLocalPort(),
+ "/subscription-listener/notify/");
URLConnection con = url.openConnection();
con.setDoOutput(true);
con.setDoInput(true);
---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org