From 1ba9532ee841848f5d6e652f9e8f2f1c274b4052 Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 11 Aug 2008 09:05:18 +0000 Subject: Remove old RC tag git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@684683 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/credit/CreditCheck.java | 26 ------- .../src/main/java/credit/CreditCheckImpl.java | 34 --------- .../src/main/java/credit/CreditCheckServer.java | 40 ----------- .../src/main/resources/CreditCheck.composite | 37 ---------- .../src/main/resources/wsdl/credit.wsdl | 81 ---------------------- .../src/main/webapp/META-INF/sca-contribution.xml | 24 ------- .../src/main/webapp/WEB-INF/web.xml | 37 ---------- 7 files changed, 279 deletions(-) delete mode 100644 tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheck.java delete mode 100644 tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckImpl.java delete mode 100644 tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckServer.java delete mode 100644 tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/resources/CreditCheck.composite delete mode 100644 tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/resources/wsdl/credit.wsdl delete mode 100644 tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/webapp/WEB-INF/web.xml (limited to 'tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main') diff --git a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheck.java b/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheck.java deleted file mode 100644 index ec95a60227..0000000000 --- a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheck.java +++ /dev/null @@ -1,26 +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 credit; - -import org.osoa.sca.annotations.Remotable; - -@Remotable -public interface CreditCheck { - int getCreditScore(String ssn); -} diff --git a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckImpl.java b/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckImpl.java deleted file mode 100644 index f19e8a1250..0000000000 --- a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckImpl.java +++ /dev/null @@ -1,34 +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 credit; - -import org.osoa.sca.annotations.Service; - -/** - * An implementation of the CreditReportService service - */ -@Service(CreditCheck.class) -public class CreditCheckImpl implements CreditCheck { - - public int getCreditScore(String ssn) { - int score = (int)(700 + (Math.random() - 0.5) * 100); - System.out.println("Credit score for " + ssn + ": " + score); - return score; - } -} diff --git a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckServer.java b/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckServer.java deleted file mode 100644 index 870ea1941d..0000000000 --- a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckServer.java +++ /dev/null @@ -1,40 +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 credit; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * @version $Rev$ $Date$ - */ -public class CreditCheckServer { - public static void main(String[] args) throws Exception { - - System.out.println("Starting the CreditCheck Service..."); - - SCADomain domain = SCADomain.newInstance("http://localhost", "/", "CreditCheck.composite"); - - System.out.println("Press Enter to Exit..."); - System.in.read(); - - domain.close(); - System.out.println("Bye"); - } -} diff --git a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/resources/CreditCheck.composite b/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/resources/CreditCheck.composite deleted file mode 100644 index 5c828f5a39..0000000000 --- a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/resources/CreditCheck.composite +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - diff --git a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/resources/wsdl/credit.wsdl b/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/resources/wsdl/credit.wsdl deleted file mode 100644 index 9c2acc96d3..0000000000 --- a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/resources/wsdl/credit.wsdl +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/webapp/META-INF/sca-contribution.xml b/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/webapp/META-INF/sca-contribution.xml deleted file mode 100644 index aea009292a..0000000000 --- a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/webapp/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - \ No newline at end of file diff --git a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/webapp/WEB-INF/web.xml b/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index d7b2e32dd1..0000000000 --- a/tags/java/sca/1.3-RC2/demos/mortgage-creditcheck/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - Apache Tuscany Credit Check Demo - - - tuscany - org.apache.tuscany.sca.host.webapp.TuscanyServletFilter - - - - tuscany - /* - - - -- cgit v1.2.3