You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/04/13 01:24:18 UTC
svn commit: r528282 - in
/incubator/tuscany/java/sca/samples/echo-binding/src:
main/java/org/apache/tuscany/binding/echo/EchoModuleActivator.java
main/resources/META-INF/sca/ test/resources/EchoBinding.composite
Author: jsdelfino
Date: Thu Apr 12 16:24:17 2007
New Revision: 528282
URL: http://svn.apache.org/viewvc?view=rev&rev=528282
Log:
Fixed incorrect .composite file, removed old extension.composite file, fixed small typo in ModuleActivator.
Removed:
incubator/tuscany/java/sca/samples/echo-binding/src/main/resources/META-INF/sca/
Modified:
incubator/tuscany/java/sca/samples/echo-binding/src/main/java/org/apache/tuscany/binding/echo/EchoModuleActivator.java
incubator/tuscany/java/sca/samples/echo-binding/src/test/resources/EchoBinding.composite
Modified: incubator/tuscany/java/sca/samples/echo-binding/src/main/java/org/apache/tuscany/binding/echo/EchoModuleActivator.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/echo-binding/src/main/java/org/apache/tuscany/binding/echo/EchoModuleActivator.java?view=diff&rev=528282&r1=528281&r2=528282
==============================================================================
--- incubator/tuscany/java/sca/samples/echo-binding/src/main/java/org/apache/tuscany/binding/echo/EchoModuleActivator.java (original)
+++ incubator/tuscany/java/sca/samples/echo-binding/src/main/java/org/apache/tuscany/binding/echo/EchoModuleActivator.java Thu Apr 12 16:24:17 2007
@@ -37,7 +37,7 @@
}
public void start(ExtensionPointRegistry registry) {
- //Add the EchoProcessor to the proper registry
+ // Add the EchoProcessor to the proper registry
StAXArtifactProcessorRegistry artifactProcessorRegistry = registry.getExtensionPoint(StAXArtifactProcessorRegistry.class);
artifactProcessorRegistry.addArtifactProcessor(echoBindingProcessor);
@@ -49,7 +49,7 @@
}
public void stop(ExtensionPointRegistry registry) {
- //Add the EchoProcessor to the proper registry
+ // Remove the EchoProcessor from the proper registry
StAXArtifactProcessorRegistry artifactProcessorRegistry = registry.getExtensionPoint(StAXArtifactProcessorRegistry.class);
artifactProcessorRegistry.removeArtifactProcessor(echoBindingProcessor);
}
Modified: incubator/tuscany/java/sca/samples/echo-binding/src/test/resources/EchoBinding.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/echo-binding/src/test/resources/EchoBinding.composite?view=diff&rev=528282&r1=528281&r2=528282
==============================================================================
--- incubator/tuscany/java/sca/samples/echo-binding/src/test/resources/EchoBinding.composite (original)
+++ incubator/tuscany/java/sca/samples/echo-binding/src/test/resources/EchoBinding.composite Thu Apr 12 16:24:17 2007
@@ -17,19 +17,21 @@
* specific language governing permissions and limitations
* under the License.
-->
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" name="echo">
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ targetNamespace="http://echo"
+ xmlns:echo="http://echo"
+ name="EchoBinding">
- <service name="ClientService">
- <interface.java class="echo.Client"/>
+ <service name="ClientService" promote="Client">
+ <interface.java interface="org.apache.tuscany.binding.echo.Client"/>
<binding.echo/>
- <reference>Client</reference>
</service>
<component name="Client">
<implementation.java class="org.apache.tuscany.binding.echo.ClientImpl"/>
</component>
- <reference name="EchoReference" promote="Client">
+ <reference name="EchoReference" promote="Client/echoReference">
<interface.java interface="org.apache.tuscany.binding.echo.Echo"/>
<binding.echo/>
</reference>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org