incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r908307 - /incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/Parser.java
Date Wed, 10 Feb 2010 01:49:34 GMT
Author: djencks
Date: Wed Feb 10 01:49:34 2010
New Revision: 908307

URL: http://svn.apache.org/viewvc?rev=908307&view=rev
Log:
ARIES-111 make the parser figure out what it needs to parse when you don't tell it explicitly

Modified:
    incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/Parser.java

Modified: incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/Parser.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/Parser.java?rev=908307&r1=908306&r2=908307&view=diff
==============================================================================
--- incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/Parser.java
(original)
+++ incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/Parser.java
Wed Feb 10 01:49:34 2010
@@ -375,6 +375,8 @@
             return type.cast(parseValue(element, null));
         } else if (ReferenceListener.class.isAssignableFrom(type)) {
             return type.cast(parseServiceListener(element, enclosingComponent));
+        } else if (Metadata.class.isAssignableFrom(type)) {
+            return type.cast(parseValueGroup(element, enclosingComponent, null, true));
         } else {
             throw new ComponentDefinitionException("Unknown type to parse element: " + type.getName());
         }



Mime
View raw message