From: cvs@openprivacy.orgCVS update: sierra/src/java/org/openprivacy/sierra/rce/impls
Date: Friday January 26, 19101 @ 3:21
Author: burton
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/impls
-----------------------------------
Update of /usr/local/cvs/public/sierra/src/java/org/openprivacy/sierra/rce/impls
In directory giga:/tmp/cvs-serv9132/src/java/org/openprivacy/sierra/rce/impls
Modified Files:
MeanRCE.java SOAPServiceRCE.java
Log Message:
now using URI instead of URIReference
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/rce/impls/MeanRCE.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/impls/MeanRCE.java?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/impls/MeanRCE.java?rev=1.2&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/impls/MeanRCE.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/rce/impls/MeanRCE.java
diff -u sierra/src/java/org/openprivacy/sierra/rce/impls/MeanRCE.java:1.1 sierra/src/java/org/openprivacy/sierra/rce/impls/MeanRCE.java:1.2
--- sierra/src/java/org/openprivacy/sierra/rce/impls/MeanRCE.java:1.1 Wed Jan 24 12:52:38 2001
+++ sierra/src/java/org/openprivacy/sierra/rce/impls/MeanRCE.java Fri Jan 26 03:21:20 2001
@@ -19,6 +19,7 @@
//standard Java support
import java.util.*;
+import java.net.URI;
//sierra stuff
import org.openprivacy.sierra.*;
@@ -35,26 +36,26 @@
*
* @see http://www.openprivacy.org
* @author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public class MeanRCE extends BaseComponent implements ReputationCalculationEngine {
ReputationPrincipalMap map = new ReputationPrincipalMap();
- private URIReference principal = null;
+ private URI principal = null;
/**
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public void init() { }
/**
* @see ReputationCalculationEngine.getReputation#
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public Reputation getReputation( ReputationContext context, String reference ) throws ReputationNotFoundException {
@@ -72,7 +73,7 @@
/**
* @see ReputationCalculationEngine.getReputation#
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public Reputation getReputation( String reference ) throws ReputationNotFoundException {
@@ -83,7 +84,7 @@
/**
* @see ReputationCalculationEngine.putReputation#
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public void putReputation( ReputationContext context, Reputation reputation ) {
map.putReputation( reputation );
@@ -92,14 +93,14 @@
/**
* @see ReputationCalculationEngine.putReputation#
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public void putReputation( Reputation reputation ) {
putReputation( new ReputationContext(), reputation );
}
- public URIReference getPrincipal() {
+ public URI getPrincipal() {
return this.principal;
}
@@ -109,7 +110,7 @@
* Internally stores a mechanism to map references (URIs) to lists of Reputations.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
class ReputationPrincipalMap {
@@ -136,7 +137,7 @@
* Get a Vector of reputations from the references has or return a new one.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
private Vector getVector( String reference ) {
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/rce/impls/SOAPServiceRCE.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/impls/SOAPServiceRCE.java?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/impls/SOAPServiceRCE.java?rev=1.2&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/impls/SOAPServiceRCE.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/rce/impls/SOAPServiceRCE.java
diff -u sierra/src/java/org/openprivacy/sierra/rce/impls/SOAPServiceRCE.java:1.1 sierra/src/java/org/openprivacy/sierra/rce/impls/SOAPServiceRCE.java:1.2
--- sierra/src/java/org/openprivacy/sierra/rce/impls/SOAPServiceRCE.java:1.1 Wed Jan 24 12:52:38 2001
+++ sierra/src/java/org/openprivacy/sierra/rce/impls/SOAPServiceRCE.java Fri Jan 26 03:21:20 2001
@@ -19,6 +19,7 @@
//standard Java support
import java.util.*;
+import java.net.URI;
//DOM support
import org.w3c.dom.*;
@@ -39,7 +40,7 @@
@see http://www.openprivacy.org
@author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- @version $Id: SOAPServiceRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ @version $Id: SOAPServiceRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public class SOAPServiceRCE extends BaseComponent implements ReputationCalculationEngine {
@@ -47,7 +48,7 @@
= "http://schemas.openprivacy.org/core/reputation/12/2000/";
//FIXME: Sierra should actually boot up with a keypair an the principal used from this.
- private URIReference principal = new URIReference( "urn:SierraService" );
+ private URI principal = new URI( "urn:SierraService" );
/**
* Stores known reputations registered within the system.
@@ -58,14 +59,14 @@
/**
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: SOAPServiceRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: SOAPServiceRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public void init() { }
/**
* @see ReputationCalculationEngine.getReputation#
* @author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- * @version $Id: SOAPServiceRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: SOAPServiceRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public Reputation getReputation( ReputationContext context,
String reference ) throws ReputationNotFoundException {
@@ -85,7 +86,7 @@
/**
* @see ReputationCalculationEngine.getReputation#
* @author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- * @version $Id: SOAPServiceRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: SOAPServiceRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public Reputation getReputation( String reference ) throws ReputationNotFoundException {
return getReputation( new ReputationContext(), reference );
@@ -94,7 +95,7 @@
/**
* @see ReputationCalculationEngine.putReputation#
* @author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- * @version $Id: SOAPServiceRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: SOAPServiceRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public void putReputation( ReputationContext context,
Reputation reputation ) {
@@ -113,7 +114,7 @@
/**
* @see ReputationCalculationEngine.putReputation#
* @author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- * @version $Id: SOAPServiceRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: SOAPServiceRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
public void putReputation( Reputation reputation ) {
putReputation( new ReputationContext(), reputation );
@@ -122,9 +123,9 @@
/**
* @see ReputationCalculationEngine.getPrincipal#
* @author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- * @version $Id: SOAPServiceRCE.java,v 1.1 2001/01/24 20:52:38 burton Exp $
+ * @version $Id: SOAPServiceRCE.java,v 1.2 2001/01/26 11:21:20 burton Exp $
*/
- public URIReference getPrincipal() {
+ public URI getPrincipal() {
return this.principal;
}
This archive was generated by hypermail 2b30 : Fri Jan 26 2001 - 03:22:22 PST