geronimo-scm mailing list archives

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

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

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

Author: dblevins
Date: Thu Feb 16 12:37:41 2006
New Revision: 378359

URL: http://svn.apache.org/viewcvs?rev=378359&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=415222&r1=415221&r2=415222&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:35:17 2006
@@ -85,6 +85,12 @@
         return createStatic(sourceClass, gbeanType.getName(), gbeanType, null, j2eeType);
     }
 
+    public static GBeanInfoBuilder createStatic(Class sourceClass, Class gbeanType, GBeanInfo
source, String j2eeType) {
+        if (sourceClass == null) throw new NullPointerException("sourceClass is null");
+        if (gbeanType == null) throw new NullPointerException("gbeanType is null");
+        return createStatic(sourceClass, gbeanType.getName(), gbeanType, source, 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");



Mime
View raw message