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 HelloWorldServerMBean.java
Date Mon, 26 Aug 2002 22:13:13 GMT
hammant     2002/08/26 15:13:13

  Modified:    demo/src/java/org/apache/avalon/apps/demos/helloworldserver
                        HelloWorldServer.java HelloWorldServerImpl.java
                        HelloWorldServerMBean.java
  Log:
  Greeting is now a full attribute.  Getter and Setter.
  
  Revision  Changes    Path
  1.3       +2 -0      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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HelloWorldServer.java	29 Mar 2002 23:29:34 -0000	1.2
  +++ HelloWorldServer.java	26 Aug 2002 22:13:12 -0000	1.3
  @@ -16,4 +16,6 @@
       String ROLE = HelloWorldServer.class.getName();
   
       void setGreeting( String greeting );
  +
  +    String getGreeting();
   }
  
  
  
  1.10      +6 -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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- HelloWorldServerImpl.java	29 Jul 2002 07:55:31 -0000	1.9
  +++ HelloWorldServerImpl.java	26 Aug 2002 22:13:12 -0000	1.10
  @@ -58,6 +58,11 @@
           m_greeting = greeting;
       }
   
  +    public String getGreeting()
  +    {
  +        return m_greeting;
  +    }
  +
       public void contextualize( final Context context )
       {
           m_context = (BlockContext)context;
  @@ -80,7 +85,7 @@
       }
   
       /**
  -     * 
  +     *
        * @phoenix:dependency name="org.apache.avalon.cornerstone.services.sockets.SocketManager"
        * @phoenix:dependency name="org.apache.avalon.cornerstone.services.connection.ConnectionManager"
        *
  
  
  
  1.4       +7 -1      jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServerMBean.java
  
  Index: HelloWorldServerMBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServerMBean.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- HelloWorldServerMBean.java	4 Aug 2002 06:40:53 -0000	1.3
  +++ HelloWorldServerMBean.java	26 Aug 2002 22:13:13 -0000	1.4
  @@ -18,9 +18,15 @@
   public interface HelloWorldServerMBean
   {
       /**
  -     * Sets the greeting that is returned to each http request
  +     * The greeting that is returned to each HTTP request
        *
        * @phoenix:mx-attribute
        */
       public void setGreeting( final String greeting );
  +
  +    /**
  +     * Gets the greeting that is returned to each HTTP request
  +     *
  +     */
  +    String getGreeting();
   }
  
  
  

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