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/demo/src/java/org/apache/avalon/cornerstone/demos/rmihelloworldserver RMIHelloWorldServerImpl.xinfo RMIHelloWorldServer.java RMIHelloWorldServerImpl.java
Date Fri, 11 Jan 2002 04:35:37 GMT
colus       02/01/10 20:35:37

  Modified:    apps/demo/src/java/org/apache/avalon/cornerstone/demos/rmihelloworldserver
                        RMIHelloWorldServer.java
                        RMIHelloWorldServerImpl.java
  Added:       apps/demo/src/java/org/apache/avalon/cornerstone/demos/rmihelloworldserver
                        RMIHelloWorldServerImpl.xinfo
  Log:
  Demo server for RMIfication.
  
  Revision  Changes    Path
  1.2       +2 -0      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RMIHelloWorldServer.java	11 Jan 2002 02:41:13 -0000	1.1
  +++ RMIHelloWorldServer.java	11 Jan 2002 04:35:37 -0000	1.2
  @@ -9,6 +9,8 @@
   public interface RMIHelloWorldServer
       extends Remote
   {
  +    String ROLE = "org.apache.avalon.cornerstone.demos.rmihelloworldserver.RMIHelloWorldServer";
  +
       /**
        * Just say hello.
        */
  
  
  
  1.2       +2 -1      jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/rmihelloworldserver/RMIHelloWorldServerImpl.java
  
  Index: RMIHelloWorldServerImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/rmihelloworldserver/RMIHelloWorldServerImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RMIHelloWorldServerImpl.java	11 Jan 2002 02:41:13 -0000	1.1
  +++ RMIHelloWorldServerImpl.java	11 Jan 2002 04:35:37 -0000	1.2
  @@ -1,12 +1,13 @@
   package org.apache.avalon.cornerstone.demos.rmihelloworldserver;
   
   import java.rmi.RemoteException;
  +import org.apache.avalon.phoenix.Block;
   
   /**
    * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public class RMIHelloWorldServerImpl
  -    implements RMIHelloWorldServer
  +    implements RMIHelloWorldServer, Block
   {
       public String sayHello( final String yourName )
           throws RemoteException
  
  
  
  1.1                  jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/rmihelloworldserver/RMIHelloWorldServerImpl.xinfo
  
  Index: RMIHelloWorldServerImpl.xinfo
  ===================================================================
  <?xml version="1.0"?>
  
  <blockinfo>
  
    <!-- section to describe block -->
    <block>
      <version>1.0</version>
    </block>
  
    <!-- services that are offered by this block -->
    <services>
      <service name="org.apache.avalon.cornerstone.demos.rmihelloworldserver.RMIHelloWorldServer"
               version="1.0" />
    </services>
  
  </blockinfo>
  
  

--
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