summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/build.xml22
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/pom.xml43
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/src/main/resources/META-INF/sca-contribution.xml24
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/src/main/resources/notification-corba.composite36
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/build.xml22
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/pom.xml43
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/src/main/resources/META-INF/sca-contribution.xml24
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/src/main/resources/notification-ejb.composite35
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/build.xml22
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/pom.xml43
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/src/main/resources/META-INF/sca-contribution.xml24
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/src/main/resources/notification-jms.composite41
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/build.xml22
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/pom.xml43
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/src/main/resources/META-INF/sca-contribution.xml24
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/src/main/resources/notification-rmi.composite36
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/build.xml22
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/pom.xml43
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/src/main/resources/META-INF/sca-contribution.xml24
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/src/main/resources/notification-ws.composite35
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/build.xml22
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/pom.xml49
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/notification/Notification.java26
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/notification/impl/NotificationImpl.java58
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/smsgateway/SMSGateway.java30
-rw-r--r--sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/resources/META-INF/sca-contribution.xml24
26 files changed, 837 insertions, 0 deletions
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/build.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/build.xml
new file mode 100644
index 0000000000..1baf6ab153
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/build.xml
@@ -0,0 +1,22 @@
+<!--
+ * 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.
+-->
+
+<project name="scatours-contribution-notification-corba" default="compile">
+ <import file="../../antdefs.xml"/>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/pom.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/pom.xml
new file mode 100644
index 0000000000..1d543221a4
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/pom.xml
@@ -0,0 +1,43 @@
+<?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.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours</artifactId>
+ <version>1.0</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <artifactId>scatours-contribution-notification-corba</artifactId>
+ <name>Apache Tuscany SCA Tours Notification Contribution Which Uses SMSGateway CORBA Service</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-binding-corba-runtime</artifactId>
+ <version>${tuscany.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ </build>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/src/main/resources/META-INF/sca-contribution.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/src/main/resources/META-INF/sca-contribution.xml
new file mode 100644
index 0000000000..373d1494f6
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/src/main/resources/META-INF/sca-contribution.xml
@@ -0,0 +1,24 @@
+<?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.
+-->
+<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
+ <import.java package="com.tuscanyscatours.notification" />
+ <import.java package="com.tuscanyscatours.notification.impl" />
+ <import.java package="com.tuscanyscatours.smsgateway" />
+</contribution>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/src/main/resources/notification-corba.composite b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/src/main/resources/notification-corba.composite
new file mode 100644
index 0000000000..8baca02509
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-corba/src/main/resources/notification-corba.composite
@@ -0,0 +1,36 @@
+<?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://tuscanyscatours.com/"
+ name="notification">
+
+ <component name="Notification">
+ <implementation.java class="com.tuscanyscatours.notification.impl.NotificationImpl" />
+ <service name="Notification">
+ <interface.java interface="com.tuscanyscatours.notification.Notification"/>
+ </service>
+
+ <reference name="smsGateway">
+ <interface.java interface="com.tuscanyscatours.smsgateway.SMSGateway"/>
+ <tuscany:binding.corba host="localhost" port="5080" name="SMSGatewayCORBAService"/>
+ </reference>
+ </component>
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/build.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/build.xml
new file mode 100644
index 0000000000..3b7e660a5d
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/build.xml
@@ -0,0 +1,22 @@
+<!--
+ * 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.
+-->
+
+<project name="scatours-contribution-notification-ejb" default="compile">
+ <import file="../../antdefs.xml"/>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/pom.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/pom.xml
new file mode 100644
index 0000000000..36d43ef326
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/pom.xml
@@ -0,0 +1,43 @@
+<?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.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours</artifactId>
+ <version>1.0</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <artifactId>scatours-contribution-notification-ejb</artifactId>
+ <name>Apache Tuscany SCA Tours Notification Contribution Which Uses SMSGateway EJB Service</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-binding-ejb-runtime</artifactId>
+ <version>${tuscany.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ </build>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/src/main/resources/META-INF/sca-contribution.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/src/main/resources/META-INF/sca-contribution.xml
new file mode 100644
index 0000000000..373d1494f6
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/src/main/resources/META-INF/sca-contribution.xml
@@ -0,0 +1,24 @@
+<?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.
+-->
+<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
+ <import.java package="com.tuscanyscatours.notification" />
+ <import.java package="com.tuscanyscatours.notification.impl" />
+ <import.java package="com.tuscanyscatours.smsgateway" />
+</contribution>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/src/main/resources/notification-ejb.composite b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/src/main/resources/notification-ejb.composite
new file mode 100644
index 0000000000..11b632fd79
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ejb/src/main/resources/notification-ejb.composite
@@ -0,0 +1,35 @@
+<?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"
+ targetNamespace="http://tuscanyscatours.com/"
+ name="notification">
+
+ <component name="Notification">
+ <implementation.java class="com.tuscanyscatours.notification.impl.NotificationImpl" />
+ <service name="Notification">
+ <interface.java interface="com.tuscanyscatours.notification.Notification"/>
+ </service>
+
+ <reference name="smsGateway">
+ <interface.java interface="com.tuscanyscatours.smsgateway.SMSGateway"/>
+ <binding.ejb uri="SMSGatewayImplRemote"/>
+ </reference>
+ </component>
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/build.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/build.xml
new file mode 100644
index 0000000000..0b1b80c44f
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/build.xml
@@ -0,0 +1,22 @@
+<!--
+ * 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.
+-->
+
+<project name="scatours-contribution-notification-jms" default="compile">
+ <import file="../../antdefs.xml"/>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/pom.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/pom.xml
new file mode 100644
index 0000000000..f90cbd9cc5
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/pom.xml
@@ -0,0 +1,43 @@
+<?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.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours</artifactId>
+ <version>1.0</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <artifactId>scatours-contribution-notification-jms</artifactId>
+ <name>Apache Tuscany SCA Tours Notification Contribution Which Uses SMSGateway JMS Service</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-binding-jms-runtime</artifactId>
+ <version>${tuscany.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ </build>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/src/main/resources/META-INF/sca-contribution.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/src/main/resources/META-INF/sca-contribution.xml
new file mode 100644
index 0000000000..373d1494f6
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/src/main/resources/META-INF/sca-contribution.xml
@@ -0,0 +1,24 @@
+<?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.
+-->
+<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
+ <import.java package="com.tuscanyscatours.notification" />
+ <import.java package="com.tuscanyscatours.notification.impl" />
+ <import.java package="com.tuscanyscatours.smsgateway" />
+</contribution>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/src/main/resources/notification-jms.composite b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/src/main/resources/notification-jms.composite
new file mode 100644
index 0000000000..dfd96ae918
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-jms/src/main/resources/notification-jms.composite
@@ -0,0 +1,41 @@
+<?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"
+ targetNamespace="http://tuscanyscatours.com/"
+ name="notification">
+
+ <component name="Notification">
+ <implementation.java class="com.tuscanyscatours.notification.impl.NotificationImpl" />
+ <service name="Notification">
+ <interface.java interface="com.tuscanyscatours.notification.Notification"/>
+ </service>
+
+ <reference name="smsGateway">
+ <interface.java interface="com.tuscanyscatours.smsgateway.SMSGateway"/>
+ <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory"
+ jndiURL="tcp://localhost:61619">
+ <destination name="SMSRequestQueue" create="ifnotexist"/>
+ <response>
+ <destination name="SMSResponseQueue" create="ifnotexist"/>
+ </response>
+ </binding.jms>
+ </reference>
+ </component>
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/build.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/build.xml
new file mode 100644
index 0000000000..de8d5bbb06
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/build.xml
@@ -0,0 +1,22 @@
+<!--
+ * 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.
+-->
+
+<project name="scatours-contribution-notification-rmi" default="compile">
+ <import file="../../antdefs.xml"/>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/pom.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/pom.xml
new file mode 100644
index 0000000000..44ecdbc9cd
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/pom.xml
@@ -0,0 +1,43 @@
+<?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.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours</artifactId>
+ <version>1.0</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <artifactId>scatours-contribution-notification-rmi</artifactId>
+ <name>Apache Tuscany SCA Tours Notification Contribution Which Uses SMSGateway RMI Service</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-binding-rmi-runtime</artifactId>
+ <version>${tuscany.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ </build>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/src/main/resources/META-INF/sca-contribution.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/src/main/resources/META-INF/sca-contribution.xml
new file mode 100644
index 0000000000..373d1494f6
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/src/main/resources/META-INF/sca-contribution.xml
@@ -0,0 +1,24 @@
+<?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.
+-->
+<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
+ <import.java package="com.tuscanyscatours.notification" />
+ <import.java package="com.tuscanyscatours.notification.impl" />
+ <import.java package="com.tuscanyscatours.smsgateway" />
+</contribution>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/src/main/resources/notification-rmi.composite b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/src/main/resources/notification-rmi.composite
new file mode 100644
index 0000000000..e80c381b55
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-rmi/src/main/resources/notification-rmi.composite
@@ -0,0 +1,36 @@
+<?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://tuscanyscatours.com/"
+ name="notification">
+
+ <component name="Notification">
+ <implementation.java class="com.tuscanyscatours.notification.impl.NotificationImpl" />
+ <service name="Notification">
+ <interface.java interface="com.tuscanyscatours.notification.Notification"/>
+ </service>
+
+ <reference name="smsGateway">
+ <interface.java interface="com.tuscanyscatours.smsgateway.SMSGateway"/>
+ <tuscany:binding.rmi host="localhost" port="8099" serviceName="SMSGatewayRMI"/>
+ </reference>
+ </component>
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/build.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/build.xml
new file mode 100644
index 0000000000..bac935bc5a
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/build.xml
@@ -0,0 +1,22 @@
+<!--
+ * 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.
+-->
+
+<project name="scatours-contribution-notification-ws" default="compile">
+ <import file="../../antdefs.xml"/>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/pom.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/pom.xml
new file mode 100644
index 0000000000..a3b00f1500
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/pom.xml
@@ -0,0 +1,43 @@
+<?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.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours</artifactId>
+ <version>1.0</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <artifactId>scatours-contribution-notification-ws</artifactId>
+ <name>Apache Tuscany SCA Tours Notification Contribution Which Uses SMSGateway Web Service</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-binding-ws-axis2</artifactId>
+ <version>${tuscany.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ </build>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/src/main/resources/META-INF/sca-contribution.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/src/main/resources/META-INF/sca-contribution.xml
new file mode 100644
index 0000000000..373d1494f6
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/src/main/resources/META-INF/sca-contribution.xml
@@ -0,0 +1,24 @@
+<?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.
+-->
+<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
+ <import.java package="com.tuscanyscatours.notification" />
+ <import.java package="com.tuscanyscatours.notification.impl" />
+ <import.java package="com.tuscanyscatours.smsgateway" />
+</contribution>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/src/main/resources/notification-ws.composite b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/src/main/resources/notification-ws.composite
new file mode 100644
index 0000000000..e2051ad612
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification-ws/src/main/resources/notification-ws.composite
@@ -0,0 +1,35 @@
+<?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"
+ targetNamespace="http://tuscanyscatours.com/"
+ name="notification">
+
+ <component name="Notification">
+ <implementation.java class="com.tuscanyscatours.notification.impl.NotificationImpl" />
+ <service name="Notification">
+ <interface.java interface="com.tuscanyscatours.notification.Notification" />
+ </service>
+
+ <reference name="smsGateway">
+ <interface.java interface="com.tuscanyscatours.smsgateway.SMSGateway" />
+ <binding.ws uri="http://localhost:8081/SMSGatewayService" />
+ </reference>
+ </component>
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/build.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/build.xml
new file mode 100644
index 0000000000..ff7e56c8b7
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/build.xml
@@ -0,0 +1,22 @@
+<!--
+ * 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.
+-->
+
+<project name="scatours-contribution-notification" default="compile">
+ <import file="../../antdefs.xml"/>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/pom.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/pom.xml
new file mode 100644
index 0000000000..cc6c38c267
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/pom.xml
@@ -0,0 +1,49 @@
+<?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.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours</artifactId>
+ <version>1.0</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <artifactId>scatours-contribution-notification</artifactId>
+ <name>Apache Tuscany SCA Tours Notification Contribution</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-sca-api</artifactId>
+ <version>${tuscany.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <version>${tuscany.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ </build>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/notification/Notification.java b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/notification/Notification.java
new file mode 100644
index 0000000000..7ae26b93e4
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/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 com.tuscanyscatours.notification;
+
+public interface Notification {
+
+ boolean notify(String accountID, String subject, String message);
+
+}
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/notification/impl/NotificationImpl.java b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/notification/impl/NotificationImpl.java
new file mode 100644
index 0000000000..58d590242d
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/notification/impl/NotificationImpl.java
@@ -0,0 +1,58 @@
+/*
+ * 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 com.tuscanyscatours.notification.impl;
+
+import org.osoa.sca.annotations.Reference;
+import org.osoa.sca.annotations.Service;
+
+import com.tuscanyscatours.notification.Notification;
+import com.tuscanyscatours.smsgateway.SMSGateway;
+
+@Service(Notification.class)
+public class NotificationImpl implements Notification {
+
+ /**
+ * Use "Fake" phone number that has been reserved by Ofcom.
+ * See: http://www.ofcom.org.uk/telecoms/ioi/numbers/num_drama?a=87101
+ */
+ private static final String SCA_TOURS_SMS = "+44(0)2079460723";
+
+ @Reference
+ protected SMSGateway smsGateway;
+
+ public boolean notify(String accountID, String subject, String message) {
+
+ boolean result = true;
+
+ String sms = getSMSAddress(accountID);
+ if (sms != null) {
+ System.out.println("Sending SMS to " + sms + " for accountID " + accountID);
+ result &= smsGateway.sendSMS(SCA_TOURS_SMS, sms, subject + ". " + message);
+ }
+
+ return result;
+ }
+
+ private String getSMSAddress(String accountID) {
+ // Use "Fake" phone number that has been reserved by Ofcom.
+ // See: http://www.ofcom.org.uk/telecoms/ioi/numbers/num_drama?a=87101
+ return "+44(0)7700900812";
+ }
+}
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/smsgateway/SMSGateway.java b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/smsgateway/SMSGateway.java
new file mode 100644
index 0000000000..fdf5872565
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/java/com/tuscanyscatours/smsgateway/SMSGateway.java
@@ -0,0 +1,30 @@
+/*
+ * 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 com.tuscanyscatours.smsgateway;
+
+import org.osoa.sca.annotations.Remotable;
+
+/**
+ * A gateway to send SMS messages.
+ */
+@Remotable
+public interface SMSGateway {
+ boolean sendSMS(String fromNumber, String toNumber, String text);
+}
diff --git a/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/resources/META-INF/sca-contribution.xml b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/resources/META-INF/sca-contribution.xml
new file mode 100644
index 0000000000..518c7e363b
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0-RC1/contributions/notification/src/main/resources/META-INF/sca-contribution.xml
@@ -0,0 +1,24 @@
+<?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.
+-->
+<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
+ <export.java package="com.tuscanyscatours.notification" />
+ <export.java package="com.tuscanyscatours.notification.impl" />
+ <export.java package="com.tuscanyscatours.smsgateway" />
+</contribution>