blob: 529281b8ca7a0475f7563d18ddcfd9b8304bca5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package org.apache.tuscany.implementation.spring.itests.mock;
/**
* A simple test Spring bean which provides the HelloWorld service
* @author MikeEdwards
*
*/
import org.apache.tuscany.implementation.spring.itests.helloworld.HelloWorld;
public class TestHelloWorldBean implements HelloWorld {
static String hello = "Hello ";
// Classic "Hello xxx" response to any input message
public String sayHello( String message ) {
System.out.println("TestHelloWorldBean - sayHello called");
return( hello + message );
}
} // end class TestHelloWorldBean
|