You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by pe...@apache.org on 2015/09/11 04:08:30 UTC

svn commit: r1702365 - /river/jtsk/skunk/qa-refactor-namespace/trunk/src/org/apache/river/reggie/EntryClassBase.java

Author: peter_firmstone
Date: Fri Sep 11 02:08:30 2015
New Revision: 1702365

URL: http://svn.apache.org/r1702365
Log:
Backward compatibility for obtaining codebase annotations for outrigger and reggie proxy's running on River 2.2 platforms.

Modified:
    river/jtsk/skunk/qa-refactor-namespace/trunk/src/org/apache/river/reggie/EntryClassBase.java

Modified: river/jtsk/skunk/qa-refactor-namespace/trunk/src/org/apache/river/reggie/EntryClassBase.java
URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa-refactor-namespace/trunk/src/org/apache/river/reggie/EntryClassBase.java?rev=1702365&r1=1702364&r2=1702365&view=diff
==============================================================================
--- river/jtsk/skunk/qa-refactor-namespace/trunk/src/org/apache/river/reggie/EntryClassBase.java (original)
+++ river/jtsk/skunk/qa-refactor-namespace/trunk/src/org/apache/river/reggie/EntryClassBase.java Fri Sep 11 02:08:30 2015
@@ -19,6 +19,7 @@ package org.apache.river.reggie;
 
 import java.io.Serializable;
 import net.jini.loader.ClassLoading;
+import org.apache.river.proxy.CodebaseAnnotation;
 
 /**
  * An EntryClass annotated with a codebase.
@@ -51,7 +52,7 @@ class EntryClassBase implements Serializ
 
     /** Sets the codebase to the codebase of the given class. */
     public void setCodebase(Class cls) {
-	codebase = ClassLoading.getClassAnnotation(cls);
+	codebase = CodebaseAnnotation.getClassAnnotation(cls);
     }
 
     /**