geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r946715 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-builder-wadi/src/main/java/org/apache/geronimo/openejb/deployment/cluster/WADIOpenEJBClusteringBuilder.java
Date Thu, 20 May 2010 17:10:32 GMT
Author: djencks
Date: Thu May 20 17:10:31 2010
New Revision: 946715

URL: http://svn.apache.org/viewvc?rev=946715&view=rev
Log:
fix use of GBeanInfo

Modified:
    geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-builder-wadi/src/main/java/org/apache/geronimo/openejb/deployment/cluster/WADIOpenEJBClusteringBuilder.java

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-builder-wadi/src/main/java/org/apache/geronimo/openejb/deployment/cluster/WADIOpenEJBClusteringBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-builder-wadi/src/main/java/org/apache/geronimo/openejb/deployment/cluster/WADIOpenEJBClusteringBuilder.java?rev=946715&r1=946714&r2=946715&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-builder-wadi/src/main/java/org/apache/geronimo/openejb/deployment/cluster/WADIOpenEJBClusteringBuilder.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-builder-wadi/src/main/java/org/apache/geronimo/openejb/deployment/cluster/WADIOpenEJBClusteringBuilder.java
Thu May 20 17:10:31 2010
@@ -199,7 +199,7 @@ public class WADIOpenEJBClusteringBuilde
             throw new DeploymentException("No GBean [" + name + "]", e);
         }
         GBeanData clusteredDeploymentGBean = new GBeanData(beanInstance);
-        clusteredDeploymentGBean.setGBeanInfo(ClusteredStatefulDeployment.GBEAN_INFO);
+        clusteredDeploymentGBean.setGBeanInfo(new GBeanData(ClusteredStatefulDeployment.class).getGBeanInfo());
         clusteredDeploymentGBean.setReferencePattern(ClusteredStatefulDeployment.GBEAN_REF_SESSION_MANAGER,
sessionManagerName);
         try {
             earContext.addGBean(clusteredDeploymentGBean);



Mime
View raw message