Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r3627 - branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls

Subject: perfsonar development work

List archive

perfsonar: r3627 - branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r3627 - branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls
  • Date: Tue, 8 Apr 2008 06:08:07 -0400

Author: michael.bischoff
Date: 2008-04-08 06:08:07 -0400 (Tue, 08 Apr 2008)
New Revision: 3627

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/LSQuery.java

branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/MetadataQuery.java

branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/ServiceQuery.java

branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/UnmarshalException.java
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/WaitingPane.java
Log:
added some comments

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/LSQuery.java
===================================================================
--- branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/LSQuery.java
2008-04-08 09:54:33 UTC (rev 3626)
+++ branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/LSQuery.java
2008-04-08 10:08:07 UTC (rev 3627)
@@ -44,6 +44,10 @@
private final SOAPBodyElement requestMessage;
private final Service target;

+ /**
+ * @param target the target ls
+ * @param xpathQuery the xpathquery to execute
+ */
public LSQuery(Service target, String xpathQuery) {
this.target = target;
StringBuilder builder = new
StringBuilder(XML_FIRST_PART).append(XPATH_NAMESPACE_DECLARATIONS).append(xpathQuery).append(XML_LAST_PART);
@@ -56,6 +60,12 @@
requestMessage = new SOAPBodyElement(new
ByteArrayInputStream(data));
}

+ /**
+ * invokes the actual axis call
+ * @return resultObject
+ * @throws ServiceException
+ * @throws RemoteException
+ */
protected Object invokeCall() throws ServiceException,
RemoteException {
Call call = service.createCall();
call.setTargetEndpointAddress(target.getAddress());

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/MetadataQuery.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/MetadataQuery.java
2008-04-08 09:54:33 UTC (rev 3626)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/MetadataQuery.java
2008-04-08 10:08:07 UTC (rev 3627)
@@ -7,6 +7,10 @@

import org.w3c.dom.Node;

+/**
+ * Represents a query that retrieves metadata from an ls
+ * @author michael.bischoff
+ */
public class MetadataQuery extends LSQuery {

/**

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/ServiceQuery.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/ServiceQuery.java
2008-04-08 09:54:33 UTC (rev 3626)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/ServiceQuery.java
2008-04-08 10:08:07 UTC (rev 3627)
@@ -14,8 +14,15 @@
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;

+/**
+ * represents a query that retrieves services known to a given LookupSerivce
+ * @author michael.bischoff
+ */
public class ServiceQuery extends LSQuery {

+ /**
+ * @param target this should be a ls service
+ */
public ServiceQuery(Service target) {
super(target,
"//nmwg:store/nmwg:metadata/perfsonar:subject/psservice:service");
}

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/UnmarshalException.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/UnmarshalException.java
2008-04-08 09:54:33 UTC (rev 3626)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/UnmarshalException.java
2008-04-08 10:08:07 UTC (rev 3627)
@@ -1,7 +1,16 @@
package org.perfsonar.perfsonarui.test.ls;

+/**
+ * Exception thrown while unmarshalling xml.
+ * @author michael.bischoff
+ */
public class UnmarshalException extends Exception {

+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @param message cause
+ */
public UnmarshalException(String message) {
super(message);
}

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/WaitingPane.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/WaitingPane.java
2008-04-08 09:54:33 UTC (rev 3626)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls/WaitingPane.java
2008-04-08 10:08:07 UTC (rev 3627)
@@ -20,6 +20,12 @@

import org.jdesktop.layout.GroupLayout;

+/**
+ * Component that should be shown over another component when it
+ * is busy.
+ *
+ * @author michael.bischoff
+ */
public class WaitingPane extends JComponent {

private static final long serialVersionUID = 1L;



  • perfsonar: r3627 - branches/perfsonarui/src/org/perfsonar/perfsonarui/test/ls, svnlog, 04/08/2008

Archive powered by MHonArc 2.6.16.

Top of Page