geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r768361 - /geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/Parser.java
Date Fri, 24 Apr 2009 16:44:32 GMT
Author: gnodet
Date: Fri Apr 24 16:44:32 2009
New Revision: 768361

URL: http://svn.apache.org/viewvc?rev=768361&view=rev
Log:
Fix compilation problem

Modified:
    geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/Parser.java

Modified: geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/Parser.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/Parser.java?rev=768361&r1=768360&r2=768361&view=diff
==============================================================================
--- geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/Parser.java
(original)
+++ geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/Parser.java
Fri Apr 24 16:44:32 2009
@@ -439,7 +439,7 @@
             service.setInterfaceNames(Collections.singletonList(element.getAttribute(INTERFACE_ATTRIBUTE)));
         }
         if (element.hasAttribute(REF_ATTRIBUTE)) {
-            service.setExportedComponent(new RefMetadataImpl(element.getAttribute(REF_ATTRIBUTE)));
+            service.setServiceComponent(new RefMetadataImpl(element.getAttribute(REF_ATTRIBUTE)));
         }
         if (element.hasAttribute(DEPENDS_ON_ATTRIBUTE)) {
             service.setExplicitDependencies(parseList(element.getAttribute(DEPENDS_ON_ATTRIBUTE)));
@@ -482,7 +482,7 @@
                         if (service.getServiceComponent() != null) {
                             throw new ComponentDefinitionException("Only one of " + REF_ATTRIBUTE
+ " attribute, " + BEAN_ELEMENT + " element or custom inner element can be set");
                         }
-                        service.setExportedComponent((Target) parseBeanMetadata(e));
+                        service.setServiceComponent((Target) parseBeanMetadata(e));
                     }
                 }
             }



Mime
View raw message