summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/launchers/notification-ejb-launcher/src/main/java/scatours/notification/Notification.java
diff options
context:
space:
mode:
authormcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2009-06-15 21:52:09 +0000
committermcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2009-06-15 21:52:09 +0000
commitf95ef118b94dab991775bed181afc8a10e4a20c6 (patch)
tree7bd38674753a6f50af9336537a4a3fbf63dce713 /sandbox/travelsample/launchers/notification-ejb-launcher/src/main/java/scatours/notification/Notification.java
parent6ebf87e146b93c4a651da64be78ce88a09cea8c3 (diff)
Added notification launcher that will use the EJB service exposed by the SMS gateway
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@785001 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/launchers/notification-ejb-launcher/src/main/java/scatours/notification/Notification.java')
-rw-r--r--sandbox/travelsample/launchers/notification-ejb-launcher/src/main/java/scatours/notification/Notification.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/sandbox/travelsample/launchers/notification-ejb-launcher/src/main/java/scatours/notification/Notification.java b/sandbox/travelsample/launchers/notification-ejb-launcher/src/main/java/scatours/notification/Notification.java
new file mode 100644
index 0000000000..79706fcc9d
--- /dev/null
+++ b/sandbox/travelsample/launchers/notification-ejb-launcher/src/main/java/scatours/notification/Notification.java
@@ -0,0 +1,26 @@
+/*
+ * 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.notification;
+
+public interface Notification {
+
+ boolean notify(String accountID, String subject, String message);
+
+}