geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: rev 76046 - geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean
Date Tue, 16 Nov 2004 22:55:11 GMT
Author: djencks
Date: Tue Nov 16 14:55:11 2004
New Revision: 76046

Modified:
   geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanData.java
Log:
add a handy constructor

Modified: geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanData.java
==============================================================================
--- geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanData.java	(original)
+++ geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanData.java	Tue Nov
16 14:55:11 2004
@@ -29,7 +29,7 @@
 import javax.management.ObjectName;
 
 /**
- * @version $Rev$ $Date$
+ * @version $Rev: $ $Date: $
  */
 public class GBeanData implements Externalizable {
     private ObjectName name;
@@ -38,6 +38,12 @@
     private final Map references;
 
     public GBeanData() {
+        attributes = new HashMap();
+        references = new HashMap();
+    }
+
+    public GBeanData(GBeanInfo gbeanInfo) {
+        this.gbeanInfo = gbeanInfo;
         attributes = new HashMap();
         references = new HashMap();
     }

Mime
View raw message