avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/apps/xcommander/src/java/org/apache/avalon/xcommander XCommanderService.java
Date Mon, 18 Feb 2002 15:04:17 GMT
colus       02/02/18 07:04:17

  Modified:    apps/bay/src/java/org/apache/avalon/bay/service
                        Catalina.java
               apps/demo/src/java/org/apache/avalon/cornerstone/demos/altrmihelloworldserver
                        AltrmiHelloWorldServer.java
               apps/demo/src/java/org/apache/avalon/cornerstone/demos/helloworldserver
                        HelloWorldServer.java
               apps/demo/src/java/org/apache/avalon/cornerstone/demos/rmihelloworldserver
                        RMIHelloWorldServer.java
               apps/demo/src/java/org/apache/avalon/cornerstone/demos/soaphelloworldserver
                        SOAPHelloWorldServer.java
               apps/overlord/src/java/org/apache/avalon/overlord
                        Collector.java GatheringServer.java
               apps/simpleserver/src/java/org/apache/avalon/simpleserver
                        SimpleService.java
               apps/xcommander/src/java/org/apache/avalon/xcommander
                        XCommanderService.java
  Log:
  Fixed up the role strings to make them derived from classname.
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-avalon-cornerstone/apps/bay/src/java/org/apache/avalon/bay/service/Catalina.java
  
  Index: Catalina.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/bay/src/java/org/apache/avalon/bay/service/Catalina.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Catalina.java	9 Jan 2002 14:54:25 -0000	1.1
  +++ Catalina.java	18 Feb 2002 15:04:17 -0000	1.2
  @@ -15,8 +15,8 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version * $Revision: 1.1 $
  + * @version * $Revision: 1.2 $
    */
   public interface Catalina {
  -    public static final String ROLE = "org.apache.avalon.bay.service.Catalina";
  +    public static final String ROLE = Catalina.class.getName();
   }
  
  
  
  1.2       +1 -1      jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/altrmihelloworldserver/AltrmiHelloWorldServer.java
  
  Index: AltrmiHelloWorldServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/altrmihelloworldserver/AltrmiHelloWorldServer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AltrmiHelloWorldServer.java	13 Jan 2002 10:35:17 -0000	1.1
  +++ AltrmiHelloWorldServer.java	18 Feb 2002 15:04:17 -0000	1.2
  @@ -13,7 +13,7 @@
    */
   public interface AltrmiHelloWorldServer
   {
  -    String ROLE = "org.apache.avalon.cornerstone.demos.altrmihelloworldserver.AltrmiHelloWorldServer";
  +    String ROLE = AltrmiHelloWorldServer.class.getName();
   
   
   }
  
  
  
  1.3       +1 -1      jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/helloworldserver/HelloWorldServer.java
  
  Index: HelloWorldServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/helloworldserver/HelloWorldServer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HelloWorldServer.java	25 Sep 2001 10:16:06 -0000	1.2
  +++ HelloWorldServer.java	18 Feb 2002 15:04:17 -0000	1.3
  @@ -15,7 +15,7 @@
    */
   public interface HelloWorldServer
   {
  -    String ROLE = "org.apache.avalon.cornerstone.demos.helloworldserver.HelloWorldServer";
  +    String ROLE = HelloWorldServer.class.getName();
   
       void setGreeting( String greeting );
   }
  
  
  
  1.4       +1 -1      jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/rmihelloworldserver/RMIHelloWorldServer.java
  
  Index: RMIHelloWorldServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/rmihelloworldserver/RMIHelloWorldServer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RMIHelloWorldServer.java	11 Jan 2002 04:46:33 -0000	1.3
  +++ RMIHelloWorldServer.java	18 Feb 2002 15:04:17 -0000	1.4
  @@ -16,7 +16,7 @@
   public interface RMIHelloWorldServer
       extends Remote
   {
  -    String ROLE = "org.apache.avalon.cornerstone.demos.rmihelloworldserver.RMIHelloWorldServer";
  +    String ROLE = RMIHelloWorldServer.class.getName();
   
       /**
        * Just say hello.
  
  
  
  1.3       +1 -1      jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/soaphelloworldserver/SOAPHelloWorldServer.java
  
  Index: SOAPHelloWorldServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/soaphelloworldserver/SOAPHelloWorldServer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SOAPHelloWorldServer.java	25 Sep 2001 10:16:34 -0000	1.2
  +++ SOAPHelloWorldServer.java	18 Feb 2002 15:04:17 -0000	1.3
  @@ -15,7 +15,7 @@
    */
   public interface SOAPHelloWorldServer
   {
  -    String ROLE = "org.apache.avalon.cornerstone.demos.soaphelloworldserver.SOAPHelloWorldServer";
  +    String ROLE = SOAPHelloWorldServer.class.getName();
   
   
   }
  
  
  
  1.2       +1 -1      jakarta-avalon-cornerstone/apps/overlord/src/java/org/apache/avalon/overlord/Collector.java
  
  Index: Collector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/overlord/src/java/org/apache/avalon/overlord/Collector.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Collector.java	25 Nov 2001 07:34:01 -0000	1.1
  +++ Collector.java	18 Feb 2002 15:04:17 -0000	1.2
  @@ -20,5 +20,5 @@
   public interface Collector
       extends Executable, ThreadSafe, Component
   {
  -    String ROLE = "org.apache.avalon.overlord.Collector";
  +    String ROLE = Collector.class.getName();
   }
  
  
  
  1.3       +1 -1      jakarta-avalon-cornerstone/apps/overlord/src/java/org/apache/avalon/overlord/GatheringServer.java
  
  Index: GatheringServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/overlord/src/java/org/apache/avalon/overlord/GatheringServer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- GatheringServer.java	27 Nov 2001 13:07:07 -0000	1.2
  +++ GatheringServer.java	18 Feb 2002 15:04:17 -0000	1.3
  @@ -14,7 +14,7 @@
    */
   public interface GatheringServer
   {
  -    String ROLE = "org.apache.avalon.overlord.GatheringServer";
  +    String ROLE = GatheringServer.class.getName();
   
       /**
        * Collect content.
  
  
  
  1.2       +1 -1      jakarta-avalon-cornerstone/apps/simpleserver/src/java/org/apache/avalon/simpleserver/SimpleService.java
  
  Index: SimpleService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/simpleserver/src/java/org/apache/avalon/simpleserver/SimpleService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleService.java	21 Nov 2001 17:26:00 -0000	1.1
  +++ SimpleService.java	18 Feb 2002 15:04:17 -0000	1.2
  @@ -16,5 +16,5 @@
    */
   public interface SimpleService
   {
  -    String ROLE = "org.apache.avalon.simpleserver.SimpleService";
  +    String ROLE = SimpleService.class.getName();
   }
  
  
  
  1.2       +1 -1      jakarta-avalon-cornerstone/apps/xcommander/src/java/org/apache/avalon/xcommander/XCommanderService.java
  
  Index: XCommanderService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/xcommander/src/java/org/apache/avalon/xcommander/XCommanderService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XCommanderService.java	25 Nov 2001 05:39:36 -0000	1.1
  +++ XCommanderService.java	18 Feb 2002 15:04:17 -0000	1.2
  @@ -16,5 +16,5 @@
    */
   public interface XCommanderService
   {
  -    String ROLE = "org.apache.avalon.xcommander.XCommanderService";
  +    String ROLE = XCommanderService.class.getName();
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message