diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-16 06:41:32 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-16 06:41:32 +0000 |
commit | 1c2b666f894bbbeecd823fce65319ea6e6f9cc2e (patch) | |
tree | 7b830dc0eef6cd7ae7bd647fe3f21733ca15611f /sandbox | |
parent | de30467590c8763457292b72d88c452ddfce6a21 (diff) |
Remove duplicate Trips interface file
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@775421 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/travelsample/launchers/jumpstart-launcher/src/main/java/scatours/LaunchNode.java | 2 | ||||
-rw-r--r-- | sandbox/travelsample/launchers/jumpstart-launcher/src/test/java/scatours/Trips.java | 26 |
2 files changed, 2 insertions, 26 deletions
diff --git a/sandbox/travelsample/launchers/jumpstart-launcher/src/main/java/scatours/LaunchNode.java b/sandbox/travelsample/launchers/jumpstart-launcher/src/main/java/scatours/LaunchNode.java index 6d372ab24b..101867150d 100644 --- a/sandbox/travelsample/launchers/jumpstart-launcher/src/main/java/scatours/LaunchNode.java +++ b/sandbox/travelsample/launchers/jumpstart-launcher/src/main/java/scatours/LaunchNode.java @@ -31,9 +31,11 @@ public class LaunchNode { SCAContribution gvtContribution =
new SCAContribution("goodvaluetrips",
"../../contributions/introducing-goodvaluetrips-contribution/target/classes");
+
SCANode node = SCANodeFactory.newInstance().
createSCANode("trips.composite",
gvtContribution);
+
node.start();
Trips tripProvider = ((SCAClient)node).getService(Trips.class,
diff --git a/sandbox/travelsample/launchers/jumpstart-launcher/src/test/java/scatours/Trips.java b/sandbox/travelsample/launchers/jumpstart-launcher/src/test/java/scatours/Trips.java deleted file mode 100644 index a7abf8e08d..0000000000 --- a/sandbox/travelsample/launchers/jumpstart-launcher/src/test/java/scatours/Trips.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 scatours;
-
-import org.osoa.sca.annotations.Remotable;
-
-@Remotable
-public interface Trips {
- String checkAvailability(String trip, int people);
-}
|