perfsonar-dev - perfsonar: r2742 - in trunk/perfsonar/src/org/perfsonar: commons/messages service/lookupService/xmlType service/lookupService/xmlType/storage service/lookupService/xmlType/storage/exist
Subject: perfsonar development work
List archive
perfsonar: r2742 - in trunk/perfsonar/src/org/perfsonar: commons/messages service/lookupService/xmlType service/lookupService/xmlType/storage service/lookupService/xmlType/storage/exist
Chronological Thread
- From:
- To:
- Subject: perfsonar: r2742 - in trunk/perfsonar/src/org/perfsonar: commons/messages service/lookupService/xmlType service/lookupService/xmlType/storage service/lookupService/xmlType/storage/exist
- Date: Tue, 28 Aug 2007 07:26:14 -0400
Author: mac
Date: 2007-08-28 07:26:14 -0400 (Tue, 28 Aug 2007)
New Revision: 2742
Modified:
trunk/perfsonar/src/org/perfsonar/commons/messages/LSCleanupRequest.java
trunk/perfsonar/src/org/perfsonar/commons/messages/LSDeregisterRequest.java
trunk/perfsonar/src/org/perfsonar/commons/messages/LSKeepaliveRequest.java
trunk/perfsonar/src/org/perfsonar/commons/messages/LSQueryRequest.java
trunk/perfsonar/src/org/perfsonar/commons/messages/LSRegisterRequest.java
trunk/perfsonar/src/org/perfsonar/commons/messages/LSRequest.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/EchoRequestAction.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSAction.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSCleanup.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSCleanupLoader.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSDeregisterAction.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSGenericRegisterAction.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSKeepaliveAction.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSLookupAction.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSRegisterAction.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/XmlTypeLSServiceEngine.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/DataCredential.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/LookupServiceDAO.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/LookupServiceDAOFactory.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/XMLDataStorage.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/CommonExistDAOImpl.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/ExistHTTPDataStorage.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/MultipleFilesExistDAOImpl.java
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/XQueryExistDAOImpl.java
Log:
Lookup Service classes in the trunk are now treated as deprecated. For
current LS version please see branches/new-structure/geant2-xml-ls/ svn
branch.
Modified:
trunk/perfsonar/src/org/perfsonar/commons/messages/LSCleanupRequest.java
===================================================================
--- trunk/perfsonar/src/org/perfsonar/commons/messages/LSCleanupRequest.java
2007-08-28 11:12:12 UTC (rev 2741)
+++ trunk/perfsonar/src/org/perfsonar/commons/messages/LSCleanupRequest.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -11,6 +11,7 @@
/**
* @author Maciej Glowiak
* MessageHandler for LS Cleanup
+ * @deprecated
*
*/
public class LSCleanupRequest extends LSRequest {
Modified:
trunk/perfsonar/src/org/perfsonar/commons/messages/LSDeregisterRequest.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/commons/messages/LSDeregisterRequest.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/commons/messages/LSDeregisterRequest.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -12,6 +12,7 @@
/**
* @author Maciej Glowiak
* MessageHandler for LS DeRegiser Request
+ * @deprecated
*
*/
public class LSDeregisterRequest extends LSRequest {
Modified:
trunk/perfsonar/src/org/perfsonar/commons/messages/LSKeepaliveRequest.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/commons/messages/LSKeepaliveRequest.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/commons/messages/LSKeepaliveRequest.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -11,6 +11,7 @@
/**
* @author Maciej Glowiak
* MessageHandler for LS Keep-Alive Request
+ * @deprecated
*
*/
public class LSKeepaliveRequest extends LSRequest {
Modified:
trunk/perfsonar/src/org/perfsonar/commons/messages/LSQueryRequest.java
===================================================================
--- trunk/perfsonar/src/org/perfsonar/commons/messages/LSQueryRequest.java
2007-08-28 11:12:12 UTC (rev 2741)
+++ trunk/perfsonar/src/org/perfsonar/commons/messages/LSQueryRequest.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -15,6 +15,7 @@
/**
* @author Maciej Glowiak
* MessageHandler for LS Query Request
+ * @deprecated
*
*/
public class LSQueryRequest extends LSRequest {
Modified:
trunk/perfsonar/src/org/perfsonar/commons/messages/LSRegisterRequest.java
===================================================================
--- trunk/perfsonar/src/org/perfsonar/commons/messages/LSRegisterRequest.java
2007-08-28 11:12:12 UTC (rev 2741)
+++ trunk/perfsonar/src/org/perfsonar/commons/messages/LSRegisterRequest.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -18,6 +18,7 @@
/**
* @author Maciej Glowiak
+ * @deprecated
* MessageHandler for LS Regiser Request
*
* Note: It doesn't use Request class because of not clear use data
Modified: trunk/perfsonar/src/org/perfsonar/commons/messages/LSRequest.java
===================================================================
--- trunk/perfsonar/src/org/perfsonar/commons/messages/LSRequest.java
2007-08-28 11:12:12 UTC (rev 2741)
+++ trunk/perfsonar/src/org/perfsonar/commons/messages/LSRequest.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -13,6 +13,7 @@
* General MessageHangler for LS
*
* @author Maciej Glowiak
+ * @deprecated
*
*/
public abstract class LSRequest extends Request {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/EchoRequestAction.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/EchoRequestAction.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/EchoRequestAction.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -11,6 +11,7 @@
* Handling EchoRequest
*
* @author Maciej Glowiak
+ * @deprecated
*
*/
public class EchoRequestAction extends LSAction {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSAction.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSAction.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSAction.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -23,6 +23,7 @@
* Generic class for all LS actions performed by XmlTypeLSServiceEngine
*
* @author Maciej Glowiak
+ * @deprecated
*
*/
public abstract class LSAction {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSCleanup.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSCleanup.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSCleanup.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -11,6 +11,7 @@
/**
* Action that removes all obsolete lookup information
* @author Maciej Glowiak
+ * @deprecated
*
*/
public class LSCleanup extends LSAction implements SchedulerAction {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSCleanupLoader.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSCleanupLoader.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSCleanupLoader.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -14,6 +14,7 @@
/**
* Initializes component action in simple scheduler
* @author Maciej Glowiak
+ * @deprecated
*
*/
public class LSCleanupLoader implements AuxiliaryComponent {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSDeregisterAction.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSDeregisterAction.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSDeregisterAction.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -10,6 +10,7 @@
* DEREGISTER Action
*
* @author Maciej Glowiak
+ * @deprecated
*
*/
public class LSDeregisterAction extends LSAction {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSGenericRegisterAction.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSGenericRegisterAction.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSGenericRegisterAction.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -10,6 +10,7 @@
* Class that has commons methods for registration, updates, and keepalives
*
* @author Maciej Glowiak
+ * @deprecated
*
*/
public abstract class LSGenericRegisterAction extends LSAction {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSKeepaliveAction.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSKeepaliveAction.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSKeepaliveAction.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -10,6 +10,7 @@
* KEEPALIVE - register/keepalive Action
*
* @author Maciej Glowiak
+ * @deprecated
*
*/
public class LSKeepaliveAction extends LSGenericRegisterAction {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSLookupAction.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSLookupAction.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSLookupAction.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -12,6 +12,7 @@
* LOOKUP Action
*
* @author Maciej Glowiak
+ * @deprecated
*
*/
public class LSLookupAction extends LSAction {
@@ -118,8 +119,8 @@
logger.info(requestSubject.toString());
query = requestSubject.getSubject();
- logger.debug("XmlTypeLSServiceEngine: query="+query);
-
+ logger.debug("XmlTypeLSServiceEngine: query=["+query+"]");
+
} catch (NullPointerException e) {
String m =
"XmlTypeLSServiceEngine: no subject (query content) in
metadata";
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSRegisterAction.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSRegisterAction.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/LSRegisterAction.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -14,6 +14,7 @@
* REGISTER and UPDATE Action
*
* @author Maciej Glowiak
+ * @deprecated
*
*/
public class LSRegisterAction extends LSGenericRegisterAction {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/XmlTypeLSServiceEngine.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/XmlTypeLSServiceEngine.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/XmlTypeLSServiceEngine.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -24,6 +24,7 @@
*
* @see org.perfsonar.service.commons.ServiceEngine
* @author Maciej Glowiak
+ * @deprecated
*
*/
public class XmlTypeLSServiceEngine implements ServiceEngine {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/DataCredential.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/DataCredential.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/DataCredential.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -1,5 +1,7 @@
package org.perfsonar.service.lookupService.xmlType.storage;
-
+/**
+ * @deprecated
+ */
public class DataCredential {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/LookupServiceDAO.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/LookupServiceDAO.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/LookupServiceDAO.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -3,7 +3,9 @@
import org.ggf.ns.nmwg.base.v2_0.Data;
import org.ggf.ns.nmwg.base.v2_0.Metadata;
import org.perfsonar.service.commons.exceptions.PerfSONARException;
-
+/**
+ * @deprecated
+ */
public interface LookupServiceDAO {
/**
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/LookupServiceDAOFactory.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/LookupServiceDAOFactory.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/LookupServiceDAOFactory.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -4,8 +4,9 @@
import org.perfsonar.commons.auxiliary.ComponentNames;
import
org.perfsonar.commons.auxiliary.components.configuration.ConfigurationComponent;
import org.perfsonar.service.commons.exceptions.PerfSONARException;
-import org.perfsonar.service.commons.exceptions.SystemException;
-
+/**
+ * @deprecated
+ */
public class LookupServiceDAOFactory {
private static LookupServiceDAO dao = null;
@@ -14,7 +15,7 @@
String className) throws PerfSONARException {
if ("".equals(className))
- throw new SystemException(
+ throw new PerfSONARException(
"error.ls.dao.empty",
"Cannot instantiate LS DAO. Classname is empty or null");
@@ -25,7 +26,7 @@
} catch (Exception e) { /*dao will be null*/ }
if (dao==null) {
- throw new SystemException(
+ throw new PerfSONARException(
"error.ls.dao.wrong_class",
"Cannot instantiate LS DAO with "+className+" class");
} else
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/XMLDataStorage.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/XMLDataStorage.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/XMLDataStorage.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -8,8 +8,8 @@
* put - store document
* delete - remove document
* performXQuery - perform XQuery operation
- *
* @author Maciej Glowiak
+ * @deprecated
*
*/
public interface XMLDataStorage {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/CommonExistDAOImpl.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/CommonExistDAOImpl.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/CommonExistDAOImpl.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -13,7 +13,7 @@
* XQuery functionality for getting information from Exist DB XML.
*
* Data modification functionality will be implemented in other sub-classes
- *
+ * @deprecated
* @author Maciej Glowiak
*
*/
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/ExistHTTPDataStorage.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/ExistHTTPDataStorage.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/ExistHTTPDataStorage.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -5,7 +5,9 @@
import
org.perfsonar.service.commons.storage.xmldb.exist.rest.ExistDbHTTPAccess;
import org.perfsonar.service.lookupService.xmlType.storage.DataCredential;
import org.perfsonar.service.lookupService.xmlType.storage.XMLDataStorage;
-
+/**
+ * @deprecated
+*/
public class ExistHTTPDataStorage implements XMLDataStorage {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/MultipleFilesExistDAOImpl.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/MultipleFilesExistDAOImpl.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/MultipleFilesExistDAOImpl.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -13,7 +13,7 @@
* using Multiple files in separate collections: /store and /control
*
* @author Maciej Glowiak
- *
+ * @deprecated
*/
public class MultipleFilesExistDAOImpl extends CommonExistDAOImpl {
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/XQueryExistDAOImpl.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/XQueryExistDAOImpl.java
2007-08-28 11:12:12 UTC (rev 2741)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/storage/exist/XQueryExistDAOImpl.java
2007-08-28 11:26:14 UTC (rev 2742)
@@ -12,6 +12,7 @@
* using XQuery for modification
* using "+LS_STORE_COLLECTION_TYPE+".xml,
"+LS_STORE_COLLECTION_TYPE+"-control.xml files in one collection
* @author Maciej Glowiak
+ * @deprecated
*
*/
public class XQueryExistDAOImpl extends CommonExistDAOImpl {
- perfsonar: r2742 - in trunk/perfsonar/src/org/perfsonar: commons/messages service/lookupService/xmlType service/lookupService/xmlType/storage service/lookupService/xmlType/storage/exist, svnlog, 08/28/2007
Archive powered by MHonArc 2.6.16.