diff options
-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);
-}
|