You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by is...@apache.org on 2007/03/30 17:41:31 UTC
svn commit: r524134 -
/incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/implementation/launched/LaunchedComponentBuilder.java
Author: isilval
Date: Fri Mar 30 08:41:30 2007
New Revision: 524134
URL: http://svn.apache.org/viewvc?view=rev&rev=524134
Log:
Apply change in r523923 to LaunchedComponentBuilder (Match the constructor parameters by both name and classifer)
Modified:
incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/implementation/launched/LaunchedComponentBuilder.java
Modified: incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/implementation/launched/LaunchedComponentBuilder.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/implementation/launched/LaunchedComponentBuilder.java?view=diff&rev=524134&r1=524133&r2=524134
==============================================================================
--- incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/implementation/launched/LaunchedComponentBuilder.java (original)
+++ incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/implementation/launched/LaunchedComponentBuilder.java Fri Mar 30 08:41:30 2007
@@ -124,10 +124,7 @@
Constructor<?> constr = ctorDef.getConstructor();
PojoObjectFactory<?> instanceFactory = new PojoObjectFactory(constr);
configuration.setInstanceFactory(instanceFactory);
- for (Parameter param : ctorDef.getParameters()) {
- configuration.getConstructorParamNames().add(param.getName());
- configuration.addConstructorParamType(param.getType());
- }
+ configuration.setConstructor(ctorDef);
configuration.setName(definition.getUri());
JavaAtomicComponent component = new JavaAtomicComponent(configuration);
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org