fhanik      2004/10/26 07:29:02

  Modified:    modules/cluster/src/share/org/apache/catalina/cluster
                        ClusterDeployer.java MessageListener.java
  Log:
  setCluster/getCluster should be done on a lower level
  
  Revision  Changes    Path
  1.3       +1 -13     
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/ClusterDeployer.java
  
  Index: ClusterDeployer.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/ClusterDeployer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ClusterDeployer.java      28 Jul 2004 18:02:15 -0000      1.2
  +++ ClusterDeployer.java      26 Oct 2004 14:29:02 -0000      1.3
  @@ -29,18 +29,6 @@
   
   public interface ClusterDeployer extends MessageListener {
       /**
  -     * Returns the cluster the cluster deployer is associated with
  -     * @return CatalinaCluster
  -     */
  -    public CatalinaCluster getCluster();
  -
  -    /**
  -     * Associates the cluster deployer with a cluster
  -     * @param cluster CatalinaCluster
  -     */
  -    public void setCluster(CatalinaCluster cluster);
  -
  -    /**
        * Descriptive information about this component implementation.
        */
       public String info = "ClusterDeployer/1.0";
  
  
  
  1.2       +13 -0     
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/MessageListener.java
  
  Index: MessageListener.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/MessageListener.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MessageListener.java      29 May 2004 02:36:12 -0000      1.1
  +++ MessageListener.java      26 Oct 2004 14:29:02 -0000      1.2
  @@ -24,5 +24,18 @@
       public boolean equals(Object listener);
       
       public int hashCode();
  +    
  +    /**
  +     * Returns the cluster the cluster deployer is associated with
  +     * @return CatalinaCluster
  +     */
  +    public CatalinaCluster getCluster();
  +
  +    /**
  +     * Associates the cluster deployer with a cluster
  +     * @param cluster CatalinaCluster
  +     */
  +    public void setCluster(CatalinaCluster cluster);
  +
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to