diff options
Diffstat (limited to 'sca-java-2.x/tags/2.0-Beta3-RC2/modules/node-impl/src/test/java/hello')
-rw-r--r-- | sca-java-2.x/tags/2.0-Beta3-RC2/modules/node-impl/src/test/java/hello/HelloWorld.java | 37 | ||||
-rw-r--r-- | sca-java-2.x/tags/2.0-Beta3-RC2/modules/node-impl/src/test/java/hello/HelloWorldImpl.java | 38 |
2 files changed, 0 insertions, 75 deletions
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC2/modules/node-impl/src/test/java/hello/HelloWorld.java b/sca-java-2.x/tags/2.0-Beta3-RC2/modules/node-impl/src/test/java/hello/HelloWorld.java deleted file mode 100644 index df5c246241..0000000000 --- a/sca-java-2.x/tags/2.0-Beta3-RC2/modules/node-impl/src/test/java/hello/HelloWorld.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package hello; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * HelloWorld interface - */ -@Remotable -public interface HelloWorld { - String hello(String name); - - Message echo(Message msg); - - public class Message { - public String name; - public String message; - } -} diff --git a/sca-java-2.x/tags/2.0-Beta3-RC2/modules/node-impl/src/test/java/hello/HelloWorldImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC2/modules/node-impl/src/test/java/hello/HelloWorldImpl.java deleted file mode 100644 index 3285ab12db..0000000000 --- a/sca-java-2.x/tags/2.0-Beta3-RC2/modules/node-impl/src/test/java/hello/HelloWorldImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package hello; - -import org.oasisopen.sca.annotation.AllowsPassByReference; - -/** - * HelloWorldImpl - */ -public class HelloWorldImpl implements HelloWorld { - public String hello(String name) { - System.out.println("Hello: " + name); - return "Hello, " + name; - } - - @Override - @AllowsPassByReference - public Message echo(Message msg) { - return msg; - } -} |