summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/Echo.java2
-rw-r--r--branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoBindingClient.java8
-rw-r--r--branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoComponentImpl.java3
3 files changed, 6 insertions, 7 deletions
diff --git a/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/Echo.java b/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/Echo.java
index 1d5e973f33..17981083ab 100644
--- a/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/Echo.java
+++ b/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/Echo.java
@@ -24,6 +24,6 @@ package echo;
* @version $Rev$ $Date$
*/
public interface Echo {
-
+
String echo(String msg);
}
diff --git a/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoBindingClient.java b/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoBindingClient.java
index 0b9d7acb79..046411a3a1 100644
--- a/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoBindingClient.java
+++ b/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoBindingClient.java
@@ -31,18 +31,18 @@ public class EchoBindingClient {
public static void main(String[] args) throws Exception {
- SCADomain scaDomain = SCADomain.newInstance("EchoBinding.composite");
+ SCADomain scaDomain = SCADomain.newInstance("EchoBinding.composite");
// Call the echo service component which will, in turn, call a reference
// with an echo binding. The echo binding will echo the given string.
Echo service = scaDomain.getService(Echo.class, "EchoComponent");
String echoString = service.echo("foo");
- System.out.println("Echo reference = " + echoString );
+ System.out.println("Echo reference = " + echoString);
// Call the echo server. This will dispatch the call to a service with an
// echo binding. The echo binding will pass the call to the echo component.
- echoString = (String) EchoServer.getServer().call("http://example.com/server", new Object[] {"bar"});
- System.out.println("Echo service = " + echoString );
+ echoString = (String)EchoServer.getServer().call("http://example.com/server", new Object[] {"bar"});
+ System.out.println("Echo service = " + echoString);
scaDomain.close();
diff --git a/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoComponentImpl.java b/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoComponentImpl.java
index cec1c2bdbc..cdfdfc3e8a 100644
--- a/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoComponentImpl.java
+++ b/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoComponentImpl.java
@@ -22,7 +22,6 @@ import org.osoa.sca.annotations.Constructor;
import org.osoa.sca.annotations.Reference;
import org.osoa.sca.annotations.Service;
-
/**
* A simple client component that uses a reference with an Echo binding.
*
@@ -40,7 +39,7 @@ public class EchoComponentImpl implements Echo {
public String echo(String msg) {
String result = echoReference.echo(msg);
- System.out.println("Returned message: "+ result);
+ System.out.println("Returned message: " + result);
return result;
}
}