Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r3249 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui

Subject: perfsonar development work

List archive

perfsonar: r3249 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r3249 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui
  • Date: Thu, 17 Jan 2008 13:44:36 -0500

Author: nina
Date: 2008-01-17 13:44:36 -0500 (Thu, 17 Jan 2008)
New Revision: 3249

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/PerfsonarModel.java
Log:
restrict loading endpoints more than once

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/PerfsonarModel.java
===================================================================
--- branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/PerfsonarModel.java
2008-01-17 18:38:25 UTC (rev 3248)
+++ branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/PerfsonarModel.java
2008-01-17 18:44:36 UTC (rev 3249)
@@ -273,7 +273,8 @@
* @return
*/
public MAEndpointList createEndpoints() {
- return new
MAEndpointList(getMAconf("MA.conf"),getSupportedRequests());
+ if (endpointList == null) return new
MAEndpointList(getMAconf("MA.conf"),getSupportedRequests());
+ else return endpointList;
}
/**
* Returns List<IPerfsonarSchema> of supported perfsonar schemas.
This is used to filter available endpoints and to load only those entries
that are going to be supported



  • perfsonar: r3249 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui, svnlog, 01/17/2008

Archive powered by MHonArc 2.6.16.

Top of Page