Apply new naming convention to notification-* contributions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@815531 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ea993d0e25
commit
e2d146a532
23 changed files with 102 additions and 100 deletions
|
@ -25,7 +25,7 @@
|
|||
<version>1.6-SNAPSHOT</version>
|
||||
<!--relativePath>../../pom.xml</relativePath-->
|
||||
</parent><version>1.0-SNAPSHOT</version>
|
||||
<artifactId>scatours-notification-corba</artifactId>
|
||||
<artifactId>scatours-contribution-notification-corba</artifactId>
|
||||
<name>Apache Tuscany SCA Tours Notification Contribution Which Uses SMSGateway CORBA Service</name>
|
||||
|
||||
<dependencies>
|
|
@ -18,6 +18,7 @@
|
|||
* under the License.
|
||||
-->
|
||||
<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
|
||||
<import.java package="scatours.notification"/>
|
||||
<import.java package="scatours.smsgateway"/>
|
||||
</contribution>
|
||||
<import.java package="com.tuscanyscatours.notification" />
|
||||
<import.java package="com.tuscanyscatours.notification.impl" />
|
||||
<import.java package="com.tuscanyscatours.smsgateway" />
|
||||
</contribution>
|
|
@ -18,19 +18,18 @@
|
|||
* under the License.
|
||||
-->
|
||||
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
|
||||
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
|
||||
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://goodvaluetrips.com/"
|
||||
targetNamespace="http://tuscanyscatours.com/"
|
||||
name="notification">
|
||||
|
||||
<component name="Notification">
|
||||
<implementation.java class="scatours.notification.NotificationImpl" />
|
||||
<implementation.java class="com.tuscanyscatours.notification.impl.NotificationImpl" />
|
||||
<service name="Notification">
|
||||
<interface.java interface="scatours.notification.Notification"/>
|
||||
<interface.java interface="com.tuscanyscatours.notification.Notification"/>
|
||||
</service>
|
||||
|
||||
<reference name="smsGateway">
|
||||
<interface.java interface="scatours.smsgateway.SMSGateway"/>
|
||||
<interface.java interface="com.tuscanyscatours.smsgateway.SMSGateway"/>
|
||||
<tuscany:binding.corba host="localhost" port="5080" name="SMSGatewayCORBAService"/>
|
||||
</reference>
|
||||
</component>
|
|
@ -25,7 +25,7 @@
|
|||
<version>1.6-SNAPSHOT</version>
|
||||
<!--relativePath>../../pom.xml</relativePath-->
|
||||
</parent><version>1.0-SNAPSHOT</version>
|
||||
<artifactId>scatours-notification-ejb</artifactId>
|
||||
<artifactId>scatours-contribution-notification-ejb</artifactId>
|
||||
<name>Apache Tuscany SCA Tours Notification Contribution Which Uses SMSGateway EJB Service</name>
|
||||
|
||||
<dependencies>
|
|
@ -18,6 +18,7 @@
|
|||
* under the License.
|
||||
-->
|
||||
<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
|
||||
<export.java package="scatours.notification"/>
|
||||
<export.java package="scatours.smsgateway"/>
|
||||
</contribution>
|
||||
<import.java package="com.tuscanyscatours.notification" />
|
||||
<import.java package="com.tuscanyscatours.notification.impl" />
|
||||
<import.java package="com.tuscanyscatours.smsgateway" />
|
||||
</contribution>
|
|
@ -18,18 +18,17 @@
|
|||
* under the License.
|
||||
-->
|
||||
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
|
||||
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://goodvaluetrips.com/"
|
||||
targetNamespace="http://tuscanyscatours.com/"
|
||||
name="notification">
|
||||
|
||||
<component name="Notification">
|
||||
<implementation.java class="scatours.notification.NotificationImpl" />
|
||||
<implementation.java class="com.tuscanyscatours.notification.impl.NotificationImpl" />
|
||||
<service name="Notification">
|
||||
<interface.java interface="scatours.notification.Notification"/>
|
||||
<interface.java interface="com.tuscanyscatours.notification.Notification"/>
|
||||
</service>
|
||||
|
||||
<reference name="smsGateway">
|
||||
<interface.java interface="scatours.smsgateway.SMSGateway"/>
|
||||
<interface.java interface="com.tuscanyscatours.smsgateway.SMSGateway"/>
|
||||
<binding.ejb uri="SMSGatewayImplRemote"/>
|
||||
</reference>
|
||||
</component>
|
|
@ -25,7 +25,7 @@
|
|||
<version>1.6-SNAPSHOT</version>
|
||||
<!--relativePath>../../pom.xml</relativePath-->
|
||||
</parent><version>1.0-SNAPSHOT</version>
|
||||
<artifactId>scatours-notification-jms</artifactId>
|
||||
<artifactId>scatours-contribution-notification-jms</artifactId>
|
||||
<name>Apache Tuscany SCA Tours Notification Contribution Which Uses SMSGateway JMS Service</name>
|
||||
|
||||
<dependencies>
|
|
@ -18,6 +18,7 @@
|
|||
* under the License.
|
||||
-->
|
||||
<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
|
||||
<import.java package="scatours.notification"/>
|
||||
<import.java package="scatours.smsgateway"/>
|
||||
</contribution>
|
||||
<import.java package="com.tuscanyscatours.notification" />
|
||||
<import.java package="com.tuscanyscatours.notification.impl" />
|
||||
<import.java package="com.tuscanyscatours.smsgateway" />
|
||||
</contribution>
|
|
@ -18,18 +18,17 @@
|
|||
* under the License.
|
||||
-->
|
||||
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
|
||||
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://goodvaluetrips.com/"
|
||||
targetNamespace="http://tuscanyscatours.com/"
|
||||
name="notification">
|
||||
|
||||
<component name="Notification">
|
||||
<implementation.java class="scatours.notification.NotificationImpl" />
|
||||
<implementation.java class="com.tuscanyscatours.notification.impl.NotificationImpl" />
|
||||
<service name="Notification">
|
||||
<interface.java interface="scatours.notification.Notification"/>
|
||||
<interface.java interface="com.tuscanyscatours.notification.Notification"/>
|
||||
</service>
|
||||
|
||||
<reference name="smsGateway">
|
||||
<interface.java interface="scatours.smsgateway.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"/>
|
|
@ -1,23 +0,0 @@
|
|||
<?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="scatours.notification"/>
|
||||
<import.java package="scatours.smsgateway"/>
|
||||
</contribution>
|
|
@ -25,7 +25,7 @@
|
|||
<version>1.6-SNAPSHOT</version>
|
||||
<!--relativePath>../../pom.xml</relativePath-->
|
||||
</parent><version>1.0-SNAPSHOT</version>
|
||||
<artifactId>scatours-notification-rmi</artifactId>
|
||||
<artifactId>scatours-contribution-notification-rmi</artifactId>
|
||||
<name>Apache Tuscany SCA Tours Notification Contribution Which Uses SMSGateway RMI Service</name>
|
||||
|
||||
<dependencies>
|
|
@ -18,6 +18,7 @@
|
|||
* under the License.
|
||||
-->
|
||||
<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
|
||||
<import.java package="scatours.notification"/>
|
||||
<import.java package="scatours.smsgateway"/>
|
||||
</contribution>
|
||||
<import.java package="com.tuscanyscatours.notification" />
|
||||
<import.java package="com.tuscanyscatours.notification.impl" />
|
||||
<import.java package="com.tuscanyscatours.smsgateway" />
|
||||
</contribution>
|
|
@ -18,19 +18,18 @@
|
|||
* under the License.
|
||||
-->
|
||||
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
|
||||
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
|
||||
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://goodvaluetrips.com/"
|
||||
targetNamespace="http://tuscanyscatours.com/"
|
||||
name="notification">
|
||||
|
||||
<component name="Notification">
|
||||
<implementation.java class="scatours.notification.NotificationImpl" />
|
||||
<implementation.java class="com.tuscanyscatours.notification.impl.NotificationImpl" />
|
||||
<service name="Notification">
|
||||
<interface.java interface="scatours.notification.Notification"/>
|
||||
<interface.java interface="com.tuscanyscatours.notification.Notification"/>
|
||||
</service>
|
||||
|
||||
<reference name="smsGateway">
|
||||
<interface.java interface="scatours.smsgateway.SMSGateway"/>
|
||||
<interface.java interface="com.tuscanyscatours.smsgateway.SMSGateway"/>
|
||||
<tuscany:binding.rmi host="localhost" port="8099" serviceName="SMSGatewayRMI"/>
|
||||
</reference>
|
||||
</component>
|
|
@ -1,23 +0,0 @@
|
|||
<?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="scatours.notification"/>
|
||||
<import.java package="scatours.smsgateway"/>
|
||||
</contribution>
|
|
@ -25,7 +25,7 @@
|
|||
<version>1.6-SNAPSHOT</version>
|
||||
<!--relativePath>../../pom.xml</relativePath-->
|
||||
</parent><version>1.0-SNAPSHOT</version>
|
||||
<artifactId>scatours-notification-ws</artifactId>
|
||||
<artifactId>scatours-contribution-notification-ws</artifactId>
|
||||
<name>Apache Tuscany SCA Tours Notification Contribution Which Uses SMSGateway Web Service</name>
|
||||
|
||||
<dependencies>
|
|
@ -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>
|
|
@ -18,19 +18,18 @@
|
|||
* under the License.
|
||||
-->
|
||||
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
|
||||
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://goodvaluetrips.com/"
|
||||
targetNamespace="http://tuscanyscatours.com/"
|
||||
name="notification">
|
||||
|
||||
<component name="Notification">
|
||||
<implementation.java class="scatours.notification.NotificationImpl" />
|
||||
<implementation.java class="com.tuscanyscatours.notification.impl.NotificationImpl" />
|
||||
<service name="Notification">
|
||||
<interface.java interface="scatours.notification.Notification"/>
|
||||
<interface.java interface="com.tuscanyscatours.notification.Notification" />
|
||||
</service>
|
||||
|
||||
<reference name="smsGateway">
|
||||
<interface.java interface="scatours.smsgateway.SMSGateway"/>
|
||||
<binding.ws uri="http://localhost:8081/SMSGatewayService"/>
|
||||
<interface.java interface="com.tuscanyscatours.smsgateway.SMSGateway" />
|
||||
<binding.ws uri="http://localhost:8081/SMSGatewayService" />
|
||||
</reference>
|
||||
</component>
|
||||
</composite>
|
|
@ -25,7 +25,7 @@
|
|||
<version>1.6-SNAPSHOT</version>
|
||||
<!--relativePath>../../pom.xml</relativePath-->
|
||||
</parent><version>1.0-SNAPSHOT</version>
|
||||
<artifactId>scatours-notification</artifactId>
|
||||
<artifactId>scatours-contribution-notification</artifactId>
|
||||
<name>Apache Tuscany SCA Tours Notification Contribution</name>
|
||||
|
||||
<dependencies>
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package scatours.notification;
|
||||
package com.tuscanyscatours.notification;
|
||||
|
||||
public interface Notification {
|
||||
|
|
@ -17,12 +17,13 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package scatours.notification;
|
||||
package com.tuscanyscatours.notification.impl;
|
||||
|
||||
import org.osoa.sca.annotations.Reference;
|
||||
import org.osoa.sca.annotations.Service;
|
||||
|
||||
import scatours.smsgateway.SMSGateway;
|
||||
import com.tuscanyscatours.notification.Notification;
|
||||
import com.tuscanyscatours.smsgateway.SMSGateway;
|
||||
|
||||
@Service(Notification.class)
|
||||
public class NotificationImpl implements Notification {
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package scatours.smsgateway;
|
||||
package com.tuscanyscatours.smsgateway;
|
||||
|
||||
import org.osoa.sca.annotations.Remotable;
|
||||
|
|
@ -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>
|
|
@ -67,12 +67,12 @@
|
|||
<module>introducing-client</module>
|
||||
<module>introducing-tours</module>
|
||||
<module>introducing-trips</module>
|
||||
<module>notification-contribution</module>
|
||||
<module>notification-ws-contribution</module>
|
||||
<module>notification-corba-contribution</module>
|
||||
<module>notification-ejb-contribution</module>
|
||||
<module>notification-jms-contribution</module>
|
||||
<module>notification-rmi-contribution</module>
|
||||
<module>notification</module>
|
||||
<module>notification-ws</module>
|
||||
<module>notification-corba</module>
|
||||
<module>notification-ejb</module>
|
||||
<module>notification-jms</module>
|
||||
<module>notification-rmi</module>
|
||||
<module>shoppingcart</module>
|
||||
<module>travelcatalog</module>
|
||||
<module>tripbooking</module>
|
||||
|
|
Loading…
Reference in a new issue