From: cvs@openprivacy.orgCVS update: sierra/src/java/org/openprivacy/sierra/rce/talon/implementations
Date: Wednesday March 21, 19101 @ 15:40
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/talon/implementations
-----------------------------------
Update of /usr/local/cvs/public/sierra/src/java/org/openprivacy/sierra/rce/talon/implementations
In directory giga:/tmp/cvs-serv25865/src/java/org/openprivacy/sierra/rce/talon/implementations
Modified Files:
MeanRCE.java
Log Message:
removed RCEContext from the RCE component
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/rce/talon/implementations/MeanRCE.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/talon/implementations/MeanRCE.java?annotate=1.5
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/rce/talon/implementations/MeanRCE.java?rev=1.5&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/talon/implementations/MeanRCE.java.diff?r1=1.5&r2=1.4
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/rce/talon/implementations/MeanRCE.java
diff -u sierra/src/java/org/openprivacy/sierra/rce/talon/implementations/MeanRCE.java:1.4 sierra/src/java/org/openprivacy/sierra/rce/talon/implementations/MeanRCE.java:1.5
--- sierra/src/java/org/openprivacy/sierra/rce/talon/implementations/MeanRCE.java:1.4 Wed Mar 21 12:59:35 2001
+++ sierra/src/java/org/openprivacy/sierra/rce/talon/implementations/MeanRCE.java Wed Mar 21 15:40:50 2001
@@ -1,7 +1,7 @@
/*
* ----
*
- * $Id: MeanRCE.java,v 1.4 2001/03/21 20:59:35 burton Exp $
+ * $Id: MeanRCE.java,v 1.5 2001/03/21 23:40:50 burton Exp $
* $Project: http://sierra.openprivacy.org $
* $CVSROOT: :pserver:anoncvs@sierra.openprivacy.org:/usr/local/cvs/public $
* $WebCVS: http://www.openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/ $
@@ -47,7 +47,7 @@
*
* @see http://www.openprivacy.org
* @author <a href="mailto:burton@openprivacy.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.4 2001/03/21 20:59:35 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.5 2001/03/21 23:40:50 burton Exp $
*/
public class MeanRCE extends BaseRCE implements RCE {
@@ -59,61 +59,39 @@
/**
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.4 2001/03/21 20:59:35 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.5 2001/03/21 23:40:50 burton Exp $
*/
public void init() { }
/**
* @see RCE#putReputation
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.4 2001/03/21 20:59:35 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.5 2001/03/21 23:40:50 burton Exp $
*/
- public Reputation getReputation( RCEContext context, Reference reference ) throws ReputationNotFoundException {
+ public Reputation getReputation( Reference reference ) throws ReputationNotFoundException {
Reputation[] reps = map.getReputations( reference );
- // calclulate the mean repuation for the reference via ontology.
-
- // TODO: need an LRU object for caching objects
-
+ //FIXME:
return null;
-
- }
-
- /**
- * @see RCE#putReputation
- * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.4 2001/03/21 20:59:35 burton Exp $
- */
- public Reputation getReputation( Reference reference ) throws SierraException {
-
- return getReputation( SierraResources.getRCEContext(), reference );
}
/**
* @see RCE#putReputation
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.4 2001/03/21 20:59:35 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.5 2001/03/21 23:40:50 burton Exp $
*/
- public void putReputation( RCEContext context, Reputation reputation ) {
+ public void putReputation( Reputation reputation ) {
map.putReputation( reputation );
}
- /**
- * @see RCE#putReputation
- * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.4 2001/03/21 20:59:35 burton Exp $
- */
- public void putReputation( Reputation reputation ) throws SierraException {
- putReputation( SierraResources.getRCEContext(), reputation );
- }
/**
* @see RCE#getNym
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: MeanRCE.java,v 1.4 2001/03/21 20:59:35 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.5 2001/03/21 23:40:50 burton Exp $
*/
public Nym getNym() {
return this.nym;
@@ -125,7 +103,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.4 2001/03/21 20:59:35 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.5 2001/03/21 23:40:50 burton Exp $
*/
class ReputationNymMap {
@@ -152,7 +130,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.4 2001/03/21 20:59:35 burton Exp $
+ * @version $Id: MeanRCE.java,v 1.5 2001/03/21 23:40:50 burton Exp $
*/
private Vector getVector( Reference reference ) {
This archive was generated by hypermail 2b30 : Wed Mar 21 2001 - 15:41:52 PST