avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver HelloWorldServer.java HelloWorldServerImpl.java
Date Fri, 29 Mar 2002 23:29:34 GMT
hammant     02/03/29 15:29:34

  Modified:    demo/src/java/org/apache/avalon/apps/demos/altrmihelloworldserver
                        AltrmiHelloWorldServerImpl.java
                        AltrmiHelloWorldServerTester.java
               demo/src/java/org/apache/avalon/apps/demos/helloworldserver
                        HelloWorldServer.java HelloWorldServerImpl.java
  Log:
  better messages
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/altrmihelloworldserver/AltrmiHelloWorldServerImpl.java
  
  Index: AltrmiHelloWorldServerImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/altrmihelloworldserver/AltrmiHelloWorldServerImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AltrmiHelloWorldServerImpl.java	4 Mar 2002 13:17:36 -0000	1.1
  +++ AltrmiHelloWorldServerImpl.java	29 Mar 2002 23:29:34 -0000	1.2
  @@ -60,7 +60,7 @@
           //mAltrmiPublisher.publish(mHelloWorldServer, publicationName, HelloWorldServer.class);
           getLogger().info("HelloWorldServer published as " + publicationName);
           // This is only to help newbies.....
  -        System.out.println("AltrmiHelloWorld server running.  Use AltrmiHelloWorldTester
to connect to it to test it");
  +        System.out.println("AltrmiHelloWorld server running.  Use avalon-altrmidemo-tester.jar
to connect to and test it");
       }
       
       public void contextualize( final Context context )
  
  
  
  1.2       +1 -1      jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/altrmihelloworldserver/AltrmiHelloWorldServerTester.java
  
  Index: AltrmiHelloWorldServerTester.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/altrmihelloworldserver/AltrmiHelloWorldServerTester.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AltrmiHelloWorldServerTester.java	4 Mar 2002 13:17:36 -0000	1.1
  +++ AltrmiHelloWorldServerTester.java	29 Mar 2002 23:29:34 -0000	1.2
  @@ -31,7 +31,7 @@
               af.setHostContext(arhc);
               HelloWorldServer hws = (HelloWorldServer) af.lookup("helloworld");
               hws.setGreeting("Howdie Partner");
  -            System.out.println( "The greeting on the HelloWorldServer block has been changed.
 Point your browser to http://localhost:7666 to see it." );
  +            System.out.println( "The greeting on the HelloWorldServer block has been changed
to 'Howdie Partner'.  Point your browser to http://localhost:7666 to see it." );
           } catch (Throwable t) {
               t.printStackTrace();
           }
  
  
  
  1.2       +0 -2      jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServer.java
  
  Index: HelloWorldServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HelloWorldServer.java	4 Mar 2002 13:17:36 -0000	1.1
  +++ HelloWorldServer.java	29 Mar 2002 23:29:34 -0000	1.2
  @@ -7,8 +7,6 @@
    */
   package org.apache.avalon.apps.demos.helloworldserver;
   
  -import org.apache.avalon.phoenix.Service;
  -
   /**
    * @author  Paul Hammant <Paul_Hammant@yahoo.com>
    * @version 1.0
  
  
  
  1.3       +1 -1      jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServerImpl.java
  
  Index: HelloWorldServerImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServerImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HelloWorldServerImpl.java	4 Mar 2002 13:27:01 -0000	1.2
  +++ HelloWorldServerImpl.java	29 Mar 2002 23:29:34 -0000	1.3
  @@ -91,7 +91,7 @@
           m_connectionManager.connect( "HelloWorldListener", serverSocket, this );
   
           // This is only to help newbies.....
  -        System.out.println("HelloWorld server running.  Point your browser to http://localhost:"
+ m_port + " to see its page");
  +        System.out.println("HelloWorld server running with a greeting of '"+m_greeting+"'.
 Point your browser to http://localhost:" + m_port + " to see its page");
       }
   
       /**
  
  
  

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