summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/notification-rmi
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-04-20 22:27:34 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-04-20 22:27:34 +0000
commit54e785c9a15bc1286757c147323b697a6c40a640 (patch)
tree1753072ba5b7468376d8ca7cf2d921126daca90c /sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/notification-rmi
parentf094477f3cda79a3918b02e29aa233001c7e4193 (diff)
Copy 1.x travel sample to branches for start of 1.0 travel sample release
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@936092 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/notification-rmi/build.xml22
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/notification-rmi/pom.xml43
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/notification-rmi/src/main/resources/META-INF/sca-contribution.xml24
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/notification-rmi/src/main/resources/notification-rmi.composite36
4 files changed, 125 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/notification-rmi/build.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/notification-rmi/build.xml
new file mode 100644
index 0000000000..de8d5bbb06
--- /dev/null
+++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/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/branches/sca-java-travelsample-1.0/contributions/notification-rmi/pom.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/notification-rmi/pom.xml
new file mode 100644
index 0000000000..ba86efbecf
--- /dev/null
+++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/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-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent><version>1.0-SNAPSHOT</version>
+ <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/branches/sca-java-travelsample-1.0/contributions/notification-rmi/src/main/resources/META-INF/sca-contribution.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/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/branches/sca-java-travelsample-1.0/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/branches/sca-java-travelsample-1.0/contributions/notification-rmi/src/main/resources/notification-rmi.composite b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/notification-rmi/src/main/resources/notification-rmi.composite
new file mode 100644
index 0000000000..e80c381b55
--- /dev/null
+++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/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>