You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by co...@apache.org on 2002/02/18 17:55:36 UTC

cvs commit: jakarta-avalon/src/xdocs/developing framework.xml

colus       02/02/18 08:55:36

  Modified:    src/test/org/apache/avalon/framework/component/test
                        RoleA.java RoleB.java
               src/xdocs/developing framework.xml
  Log:
  Fixed up the role strings to make them derived from classname.
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-avalon/src/test/org/apache/avalon/framework/component/test/RoleA.java
  
  Index: RoleA.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/test/org/apache/avalon/framework/component/test/RoleA.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RoleA.java	11 Dec 2001 09:00:47 -0000	1.2
  +++ RoleA.java	18 Feb 2002 16:55:35 -0000	1.3
  @@ -12,5 +12,5 @@
    */
   public interface RoleA
   {
  -    String ROLE = "org.apache.avalon.framework.component.test.RoleA";
  +    String ROLE = RoleA.class.getName();
   }
  
  
  
  1.3       +1 -1      jakarta-avalon/src/test/org/apache/avalon/framework/component/test/RoleB.java
  
  Index: RoleB.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/test/org/apache/avalon/framework/component/test/RoleB.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RoleB.java	11 Dec 2001 09:00:47 -0000	1.2
  +++ RoleB.java	18 Feb 2002 16:55:35 -0000	1.3
  @@ -12,5 +12,5 @@
    */
   public interface RoleB
   {
  -    String ROLE = "org.apache.avalon.framework.component.test.RoleB";
  +    String ROLE = RoleB.class.getName();
   }
  
  
  
  1.12      +1 -1      jakarta-avalon/src/xdocs/developing/framework.xml
  
  Index: framework.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/xdocs/developing/framework.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- framework.xml	31 Jan 2002 15:43:49 -0000	1.11
  +++ framework.xml	18 Feb 2002 16:55:35 -0000	1.12
  @@ -44,7 +44,7 @@
   
   public interface DocumentRepository extends Component
   {
  -    String ROLE = "org.apache.bizserver.docs.DocumentRepository";
  +    String ROLE = DocumentRepository.class.getName();
   
       Document getDocument(Principal requestor, int refId);
   }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>