summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-01-21 20:44:59 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-01-21 20:44:59 +0000
commitb28c51233a763ff1438152f6e71c58681417d25f (patch)
tree3e0482a0056369186c67e018c0c3164651ac9ea7 /sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main
parentf047a523300a683e312fd6d4a4e7cae35b086ce7 (diff)
Renaming erlang samples and excluding them from binary distribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@901850 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main')
-rw-r--r--sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldErlangClient.java36
-rw-r--r--sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldImpl.java33
-rw-r--r--sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldService.java29
-rw-r--r--sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldServiceComponent.java39
-rw-r--r--sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/helloworlderlangreference.composite35
-rw-r--r--sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/helloworlderlangservice.composite34
-rw-r--r--sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/logging.properties30
7 files changed, 0 insertions, 236 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldErlangClient.java b/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldErlangClient.java
deleted file mode 100644
index 9b881b77ff..0000000000
--- a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldErlangClient.java
+++ /dev/null
@@ -1,36 +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 helloworld;
-
-import org.apache.tuscany.sca.host.embedded.SCADomain;
-
-/**
- * This client program shows how to create an SCA runtime, start it,
- * locate the HelloWorld service and invoke it.
- */
-public class HelloWorldErlangClient {
-
- public final static void main(String[] args) throws Exception {
- SCADomain scaDomain = SCADomain.newInstance("helloworlderlangreference.composite");
- HelloWorldService helloWorldService = scaDomain.getService(HelloWorldService.class, "HelloWorldServiceComponent");
- String value = helloWorldService.getGreetings("World");
- System.out.println(value);
- scaDomain.close();
- }
-}
diff --git a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldImpl.java b/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldImpl.java
deleted file mode 100644
index 4cdcc1fd0b..0000000000
--- a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldImpl.java
+++ /dev/null
@@ -1,33 +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 helloworld;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the HelloWorld service.
- */
-@Service(HelloWorldService.class)
-public class HelloWorldImpl implements HelloWorldService {
-
- public String getGreetings(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldService.java b/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldService.java
deleted file mode 100644
index c0259c6e07..0000000000
--- a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/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 helloworld;
-
-import org.osoa.sca.annotations.Remotable;
-
-/**
- * The interface for the helloworld service
- */
-@Remotable
-public interface HelloWorldService {
- public String getGreetings(String name);
-}
diff --git a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldServiceComponent.java b/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldServiceComponent.java
deleted file mode 100644
index 6c833ab888..0000000000
--- a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/java/helloworld/HelloWorldServiceComponent.java
+++ /dev/null
@@ -1,39 +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 helloworld;
-
-/**
- * The HelloWorld service implementation
- */
-public class HelloWorldServiceComponent implements HelloWorldService {
-
- HelloWorldService helloWorldService;
-
- public String getGreetings(String name) {
- return helloWorldService.getGreetings(name);
- }
-
- public HelloWorldService getHelloWorldService() {
- return helloWorldService;
- }
-
- public void setHelloWorldService(HelloWorldService helloWorldService) {
- this.helloWorldService = helloWorldService;
- }
-} \ No newline at end of file
diff --git a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/helloworlderlangreference.composite b/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/helloworlderlangreference.composite
deleted file mode 100644
index 5c2e8786f1..0000000000
--- a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/helloworlderlangreference.composite
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
- targetNamespace="http://helloworld"
- xmlns:hw="http://helloworld"
- name="helloworlderlangreference">
-
- <!-- A component with a reference promoted as a composite reference -->
- <component name="HelloWorldServiceComponent">
- <implementation.java class="helloworld.HelloWorldServiceComponent"/>
- <reference name="helloWorldService">
- <interface.java interface="helloworld.HelloWorldService"/>
- <tuscany:binding.erlang node="HelloNode" module="HelloModule"/>
- </reference>
- </component>
-
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/helloworlderlangservice.composite b/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/helloworlderlangservice.composite
deleted file mode 100644
index d2ff8455d8..0000000000
--- a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/helloworlderlangservice.composite
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
- targetNamespace="http://helloworld"
- xmlns:hw="http://helloworld"
- name="helloworld">
-
- <component name="HelloWorldServiceComponent">
- <implementation.java class="helloworld.HelloWorldImpl" />
- <service name="HelloWorldService">
- <interface.java interface="helloworld.HelloWorldService"/>
- <tuscany:binding.erlang node="HelloNode" module="HelloModule"/>
- </service>
- </component>
-
-</composite>
diff --git a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/logging.properties b/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/logging.properties
deleted file mode 100644
index a2a4067921..0000000000
--- a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-reference-erlang/src/main/resources/logging.properties
+++ /dev/null
@@ -1,30 +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.
-#
-# $Rev: 582827 $ $Date: 2007-10-08 15:01:31 +0100 (Mon, 08 Oct 2007) $
-#
-
-# Custom logging configuration for Tuscany samples
-# By default, only INFO level logging is enabled and ALL messages get sent to the console
-# For more messages from the runtime, uncomment specific settings at the end of this file
-handlers = java.util.logging.ConsoleHandler
-java.util.logging.ConsoleHandler.level = ALL
-java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
-.level=INFO
-
-# Uncomment the next setting to get all Tuscany messages (this will be a lot)
-#org.apache.tuscany.level=FINEST