tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1443480 - /tomee/tomee/trunk/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/SimpleTomEETcpCluster.java
Date Thu, 07 Feb 2013 13:57:30 GMT
Author: rmannibucau
Date: Thu Feb  7 13:57:30 2013
New Revision: 1443480

URL: http://svn.apache.org/viewvc?rev=1443480&view=rev
Log:
TOMEE-609 cluster deployer needs a reference to tcp cluster

Modified:
    tomee/tomee/trunk/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/SimpleTomEETcpCluster.java

Modified: tomee/tomee/trunk/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/SimpleTomEETcpCluster.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/SimpleTomEETcpCluster.java?rev=1443480&r1=1443479&r2=1443480&view=diff
==============================================================================
--- tomee/tomee/trunk/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/SimpleTomEETcpCluster.java
(original)
+++ tomee/tomee/trunk/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/SimpleTomEETcpCluster.java
Thu Feb  7 13:57:30 2013
@@ -64,6 +64,9 @@ public class SimpleTomEETcpCluster exten
         for (ClusterListener clusterListener : currentListeners) {
             clusterListener.setCluster(this); // we don't care about TomEEClusterListener
since it is stateless
         }
+        if (getClusterDeployer() != null) {
+            getClusterDeployer().setCluster(this);
+        }
 
         super.checkDefaults();
         addClusterListener(TomEEClusterListener.INSTANCE); // since that's a singleton and
all listeners have to be unique (contains()) we can always add it



Mime
View raw message