avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver HelloWorldServerMBean.java HelloWorldServerImpl.java
Date Sun, 02 Jun 2002 05:37:50 GMT
donaldp     2002/06/01 22:37:50

  Modified:    demo/src/java/org/apache/avalon/apps/demos/helloworldserver
                        HelloWorldServerImpl.java
  Added:       common/lib phoenix-client.jar
               demo/src/java/org/apache/avalon/apps/demos/helloworldserver
                        HelloWorldServerMBean.java
  Removed:     common/lib phoenix-client-20020519.jar
  Log:
  Update sample application so that it uses new @phoenix.mx tag to expose a management service.
  
  Submitted by: Huw Roberts <Huw@mmlive.com>
  
  Revision  Changes    Path
  1.3       +214 -214  jakarta-avalon-apps/common/lib/phoenix-client.jar
  
  	<<Binary file>>
  
  
  1.8       +2 -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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- HelloWorldServerImpl.java	22 May 2002 20:09:50 -0000	1.7
  +++ HelloWorldServerImpl.java	2 Jun 2002 05:37:50 -0000	1.8
  @@ -30,6 +30,7 @@
   /**
    * @phoenix:block
    * @phoenix:service name="org.apache.avalon.apps.demos.helloworldserver.HelloWorldServer"
  + * @phoenix:mx name="org.apache.avalon.apps.demos.helloworldserver.HelloWorldServerMBean"
    *
    * @author  Paul Hammant <Paul_Hammant@yahoo.com>
    * @author  Federico Barbieri <scoobie@pop.systemy.it>
  @@ -37,7 +38,7 @@
    */
   public class HelloWorldServerImpl
       extends AbstractLogEnabled
  -    implements HelloWorldServer, Contextualizable, Serviceable, Configurable, Initializable,
ConnectionHandlerFactory
  +    implements HelloWorldServer, HelloWorldServerMBean, Contextualizable, Serviceable,
Configurable, Initializable, ConnectionHandlerFactory
   {
       protected SocketManager m_socketManager;
       protected ConnectionManager m_connectionManager;
  
  
  
  1.1                  jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServerMBean.java
  
  Index: HelloWorldServerMBean.java
  ===================================================================
  /*
   * HellowWorldServerMBean.java
   *
   * Created on May 31, 2002, 12:21 AM
   */
  
  package org.apache.avalon.apps.demos.helloworldserver;
  
  /**
   *
   * @author  robertsh
   * @version 
   */
  public interface HelloWorldServerMBean {
      public void setGreeting( final String greeting );
  }
  
  
  
  

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