geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1053546 - /geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
Date Wed, 29 Dec 2010 06:53:34 GMT
Author: genspring
Date: Wed Dec 29 06:53:34 2010
New Revision: 1053546

URL: http://svn.apache.org/viewvc?rev=1053546&view=rev
Log:
OSGi related attributes should be copied from existing source gbeaninfo.

Modified:
    geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java

Modified: geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java?rev=1053546&r1=1053545&r2=1053546&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
Wed Dec 29 06:53:34 2010
@@ -19,6 +19,7 @@ package org.apache.geronimo.gbean;
 import java.beans.Introspector;
 import java.lang.reflect.Constructor;
 import java.lang.reflect.Method;
+import java.util.ArrayList;
 import java.util.Collection;
 import java.util.HashMap;
 import java.util.HashSet;
@@ -202,6 +203,14 @@ public class GBeanInfoBuilder {
             constructor = source.getConstructor();
 
             priority = source.getPriority();
+            
+            osgiService=source.isOsgiService();
+            
+            if (source.getServiceInterfaces() != null && source.getServiceInterfaces().length
> 0) {
+                
+                serviceInterfaces.addAll(Arrays.asList(source.getServiceInterfaces()));
+            }
+
         }
         if (j2eeType != null) {
             this.j2eeType = j2eeType;



Mime
View raw message