Skip to Content.
Sympa Menu

perfsonar-dev - r1471 - in trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager: eventTypeConfig responseGenerator

Subject: perfsonar development work

List archive

r1471 - in trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager: eventTypeConfig responseGenerator


Chronological Thread 
  • From:
  • To:
  • Subject: r1471 - in trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager: eventTypeConfig responseGenerator
  • Date: Thu, 20 Jul 2006 06:49:08 -0400

Author: roman
Date: 2006-07-20 06:49:07 -0400 (Thu, 20 Jul 2006)
New Revision: 1471

Modified:

trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventType.java

trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventTypeConfiguration.java

trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventTypeConfigurationComponent.java

trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/L2PathStatusResponseGenerator.java

trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/ResponseGenerator.java

trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/ResponseGeneratorFactory.java

trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/UtilizationResponseGenerator.java
Log:
comments have been added

Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventType.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventType.java
2006-07-20 10:36:47 UTC (rev 1470)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventType.java
2006-07-20 10:49:07 UTC (rev 1471)
@@ -6,6 +6,9 @@


/**
+ * Implementation of xml element of conf/eventType-map.xml file.
+ * This class is be used by digester library to read the configuration
+ * from that file.
*
* @author romradz
*/

Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventTypeConfiguration.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventTypeConfiguration.java
2006-07-20 10:36:47 UTC (rev 1470)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventTypeConfiguration.java
2006-07-20 10:49:07 UTC (rev 1471)
@@ -9,6 +9,10 @@
import java.util.HashMap;

/**
+ * Container of EventType objects which are specified
+ * in the configuration file conf/eventType-map.xml.
+ * The object of this class is created by digester library
+ * after that configuaration file is read.
*
* @author romradz
*/

Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventTypeConfigurationComponent.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventTypeConfigurationComponent.java
2006-07-20 10:36:47 UTC (rev 1470)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/eventTypeConfig/EventTypeConfigurationComponent.java
2006-07-20 10:49:07 UTC (rev 1471)
@@ -23,6 +23,10 @@


/**
+ * Auxiliary component that keeps the configuration
+ * about eventTypes (nmwg element) supported by the service.
+ * The configuration is stored in conf/eventType-map.xml
+ * file.
*
* @author romradz
*/

Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/L2PathStatusResponseGenerator.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/L2PathStatusResponseGenerator.java
2006-07-20 10:36:47 UTC (rev 1470)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/L2PathStatusResponseGenerator.java
2006-07-20 10:49:07 UTC (rev 1471)
@@ -18,11 +18,11 @@
import org.perfsonar.commons.auxiliary.AuxiliaryComponentManager;
import org.perfsonar.commons.auxiliary.ComponentNames;
import org.perfsonar.commons.auxiliary.components.logger.LoggerComponent;
-import
org.perfsonar.commons.auxiliary.components.configuration.ConfigurationComponent;

import org.perfsonar.service.commons.exceptions.SystemException;

/**
+ * Creates the response of service for L2 path status metric.
*
* @author romradz
*/
@@ -37,10 +37,7 @@
protected LoggerComponent logger = null;


- protected ConfigurationComponent configuration = null;

-
-
// -------------------------------------- constructors


@@ -63,22 +60,6 @@

}

- try {
-
- this.configuration = (ConfigurationComponent)
- AuxiliaryComponentManager.
- getInstance().
- getComponent(ComponentNames.CONFIG);
-
- } catch (SystemException e) {
-
- throw new SystemException(
- "error.common.no_configuration",
- "L2PathStatusResponseGenerator.constructor: "
- + "Cannot get config component");
-
- }
-
}



Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/ResponseGenerator.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/ResponseGenerator.java
2006-07-20 10:36:47 UTC (rev 1470)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/ResponseGenerator.java
2006-07-20 10:49:07 UTC (rev 1471)
@@ -12,6 +12,7 @@


/**
+ * Creates the response of service.
*
* @author romradz
*/

Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/ResponseGeneratorFactory.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/ResponseGeneratorFactory.java
2006-07-20 10:36:47 UTC (rev 1470)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/ResponseGeneratorFactory.java
2006-07-20 10:49:07 UTC (rev 1471)
@@ -17,6 +17,8 @@


/**
+ * Creates relevant ResponseGenerator object
+ * according to the value of eventType.
*
* @author romradz
*/

Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/UtilizationResponseGenerator.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/UtilizationResponseGenerator.java
2006-07-20 10:36:47 UTC (rev 1470)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/UtilizationResponseGenerator.java
2006-07-20 10:49:07 UTC (rev 1471)
@@ -16,11 +16,11 @@
import org.perfsonar.commons.auxiliary.AuxiliaryComponentManager;
import org.perfsonar.commons.auxiliary.ComponentNames;
import org.perfsonar.commons.auxiliary.components.logger.LoggerComponent;
-import
org.perfsonar.commons.auxiliary.components.configuration.ConfigurationComponent;

import org.perfsonar.service.commons.exceptions.SystemException;

/**
+ * Creates the response of service for utilization metric.
*
* @author romradz
*/
@@ -35,10 +35,7 @@
protected LoggerComponent logger = null;


- protected ConfigurationComponent configuration = null;

-
-
// -------------------------------------- constructors


@@ -61,22 +58,6 @@

}

- try {
-
- this.configuration = (ConfigurationComponent)
- AuxiliaryComponentManager.
- getInstance().
- getComponent(ComponentNames.CONFIG);
-
- } catch (SystemException e) {
-
- throw new SystemException(
- "error.common.no_configuration",
- "UtilizationResponseGenerator.constructor: "
- + "Cannot get config component");
-
- }
-
}





  • r1471 - in trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager: eventTypeConfig responseGenerator, svnlog, 07/20/2006

Archive powered by MHonArc 2.6.16.

Top of Page