summaryrefslogtreecommitdiffstats
path: root/sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample')
-rw-r--r--sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldClient.java37
-rw-r--r--sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldService.java29
-rw-r--r--sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldServiceImpl.java31
3 files changed, 0 insertions, 97 deletions
diff --git a/sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldClient.java b/sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldClient.java
deleted file mode 100644
index f209f11605..0000000000
--- a/sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldClient.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 sample;
-
-/**
- * The HelloWorld client implementation
- */
-public class HelloWorldClient implements HelloWorldService {
-
- HelloWorldService helloWorldRef;
-
- public String sayHello(String name) {
- System.out.println("HelloWorldClient.sayHello " + name);
- return helloWorldRef.sayHello(name);
- }
-
- public void setHelloWorldRef(HelloWorldService helloWorldRef) {
- System.out.println("HelloWorldClient.setHelloWorldService " + helloWorldRef);
- this.helloWorldRef = helloWorldRef;
- }
-} \ No newline at end of file
diff --git a/sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldService.java b/sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldService.java
deleted file mode 100644
index df2a852161..0000000000
--- a/sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldService.java
+++ /dev/null
@@ -1,29 +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 sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-/**
- * The interface for the helloworld service
- */
-@Remotable
-public interface HelloWorldService {
- public String sayHello(String name);
-}
diff --git a/sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldServiceImpl.java b/sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldServiceImpl.java
deleted file mode 100644
index c09af51e23..0000000000
--- a/sandbox/samples/sca-extensions/helloworld-jms/src/main/java/sample/HelloWorldServiceImpl.java
+++ /dev/null
@@ -1,31 +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 sample;
-
-/**
- * This class implements the HelloWorld service.
- */
-public class HelloWorldServiceImpl implements HelloWorldService {
-
- public String sayHello(String name) {
- System.out.println("HelloWorldServiceImpl.sayHello " + name);
- return "Hello " + name;
- }
-
-}