geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r515367 - in /geronimo/server/trunk: modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java pom.xml
Date Tue, 06 Mar 2007 23:39:56 GMT
Author: djencks
Date: Tue Mar  6 15:39:55 2007
New Revision: 515367

URL: http://svn.apache.org/viewvc?view=rev&rev=515367
Log:
GERONIMO-2887 make app client injections actually work.  Note xbean-reflect version has increased

Modified:
    geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java
    geronimo/server/trunk/pom.xml

Modified: geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java?view=diff&rev=515367&r1=515366&r2=515367
==============================================================================
--- geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java
(original)
+++ geronimo/server/trunk/modules/geronimo-client/src/main/java/org/apache/geronimo/client/AppClientContainer.java
Tue Mar  6 15:39:55 2007
@@ -154,10 +154,11 @@
             ObjectRecipe objectRecipe = new ObjectRecipe(mainClassName);
             objectRecipe.allow(Option.FIELD_INJECTION);
             objectRecipe.allow(Option.PRIVATE_PROPERTIES);
+            objectRecipe.allow(Option.STATIC_PROPERTIES);
             objectRecipe.allow(Option.IGNORE_MISSING_PROPERTIES);
             if (injections != null) {
                 for (Injection injection : injections) {
-                    try {
+                    try {                                                          
                         String jndiName = injection.getJndiName();
                         //our componentContext is attached to jndi at "java:comp" so we remove
that when looking stuff up in it
                         Object object = componentContext.lookup("env/" + jndiName);

Modified: geronimo/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/pom.xml?view=diff&rev=515367&r1=515366&r2=515367
==============================================================================
--- geronimo/server/trunk/pom.xml (original)
+++ geronimo/server/trunk/pom.xml Tue Mar  6 15:39:55 2007
@@ -277,7 +277,7 @@
             <dependency>
                 <groupId>org.apache.xbean</groupId>
                 <artifactId>xbean-reflect</artifactId>
-                <version>2.9-SNAPSHOT</version>
+                <version>3.0-SNAPSHOT</version>
             </dependency>
 
             <dependency>



Mime
View raw message