geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r415220 - /geronimo/branches/dain/openejb-2.2-merge/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
Date Mon, 19 Jun 2006 00:30:36 GMT
Author: dain
Date: Sun Jun 18 17:30:36 2006
New Revision: 415220

URL: http://svn.apache.org/viewvc?rev=415220&view=rev
Log:
svn merge -r 378346:378347 https://svn.apache.org/repos/asf/geronimo/trunk@378347

Original Commit Message
-----------------------

Author: dblevins
Date: Thu Feb 16 11:34:56 2006
New Revision: 378347

URL: http://svn.apache.org/viewcvs?rev=378347&view=rev
Log:
Added additional createStatic method signature



Modified:
    geronimo/branches/dain/openejb-2.2-merge/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java

Modified: geronimo/branches/dain/openejb-2.2-merge/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/branches/dain/openejb-2.2-merge/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java?rev=415220&r1=415219&r2=415220&view=diff
==============================================================================
--- geronimo/branches/dain/openejb-2.2-merge/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
(original)
+++ geronimo/branches/dain/openejb-2.2-merge/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
Sun Jun 18 17:30:36 2006
@@ -85,6 +85,13 @@
         return createStatic(sourceClass, gbeanType.getName(), gbeanType, null, j2eeType);
     }
 
+    public static GBeanInfoBuilder createStatic(Class sourceClass, String name, Class gbeanType,
String j2eeType) {
+        if (sourceClass == null) throw new NullPointerException("sourceClass is null");
+        if (name == null) throw new NullPointerException("name is null");
+        if (gbeanType == null) throw new NullPointerException("gbeanType is null");
+        return createStatic(sourceClass, name, gbeanType, null, j2eeType);
+    }
+
     public static GBeanInfoBuilder createStatic(Class sourceClass, String name, Class gbeanType,
GBeanInfo source, String j2eeType) {
         if (sourceClass == null) throw new NullPointerException("sourceClass is null");
         if (name == null) throw new NullPointerException("name is null");



Mime
View raw message