From 5d83de3646c6f1b07d2221f5586088deeca27d0a Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 6 Oct 2009 14:24:43 +0000 Subject: Branch for 1.5.2 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@822292 13f79535-47bb-0310-9956-ffa450edef68 --- .../tutorials/store/domain/cloud.composite | 37 ++++ .../store/domain/cloud/CatalogEJBNode.composite | 35 +++ .../domain/cloud/CatalogMediationNode.composite | 33 +++ .../store/domain/cloud/CatalogWebAppNode.composite | 36 ++++ .../store/domain/cloud/CatalogsNode.composite | 33 +++ .../store/domain/cloud/CurrencyNode.composite | 33 +++ .../store/domain/cloud/StoreClientNode.composite | 33 +++ .../store/domain/cloud/StoreDBNode.composite | 35 +++ .../store/domain/cloud/StoreEUNode.composite | 36 ++++ .../domain/cloud/StoreEnterpriseNode.composite | 35 +++ .../store/domain/cloud/StoreMarketNode.composite | 35 +++ .../store/domain/cloud/StoreMashupNode.composite | 35 +++ .../store/domain/cloud/StoreMergerNode.composite | 35 +++ .../store/domain/cloud/StoreNode.composite | 35 +++ .../store/domain/cloud/StoreSupplierNode.composite | 36 ++++ .../tutorials/store/domain/domain.composite | 37 ++++ .../domain/launch/LaunchCatalogMediationNode.java | 28 +++ .../store/domain/launch/LaunchCatalogsNode.java | 28 +++ .../store/domain/launch/LaunchCurrencyNode.java | 28 +++ .../store/domain/launch/LaunchStoreDBNode.java | 28 +++ .../store/domain/launch/LaunchStoreEUNode.java | 28 +++ .../domain/launch/LaunchStoreEnterpriseNode.java | 28 +++ .../store/domain/launch/LaunchStoreMarketNode.java | 28 +++ .../store/domain/launch/LaunchStoreMashupNode.java | 28 +++ .../store/domain/launch/LaunchStoreMergerNode.java | 28 +++ .../store/domain/launch/LaunchStoreNode.java | 28 +++ .../domain/launch/LaunchStoreSupplierNode.java | 28 +++ .../domain/launch/LaunchTutorialDomainManager.java | 33 +++ .../store/domain/launch/LaunchWarehouseSpring.java | 55 +++++ .../sca-java-1.5.2/tutorials/store/domain/pom.xml | 240 +++++++++++++++++++++ .../tutorials/store/domain/workspace.xml | 36 ++++ 31 files changed, 1231 insertions(+) create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogEJBNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogMediationNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogWebAppNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogsNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/CurrencyNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreClientNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreDBNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreEUNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreEnterpriseNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMarketNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMashupNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMergerNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreSupplierNode.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/domain.composite create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCatalogMediationNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCatalogsNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCurrencyNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreDBNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreEUNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreEnterpriseNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMarketNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMashupNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMergerNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreSupplierNode.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchTutorialDomainManager.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchWarehouseSpring.java create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/pom.xml create mode 100644 branches/sca-java-1.5.2/tutorials/store/domain/workspace.xml (limited to 'branches/sca-java-1.5.2/tutorials/store/domain') diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud.composite new file mode 100644 index 0000000000..ea0ff1e637 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud.composite @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogEJBNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogEJBNode.composite new file mode 100644 index 0000000000..02e83d4c8d --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogEJBNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogMediationNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogMediationNode.composite new file mode 100644 index 0000000000..bac96d9781 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogMediationNode.composite @@ -0,0 +1,33 @@ + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogWebAppNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogWebAppNode.composite new file mode 100644 index 0000000000..f3ed2dfdd5 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogWebAppNode.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogsNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogsNode.composite new file mode 100644 index 0000000000..3a5ec770cb --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CatalogsNode.composite @@ -0,0 +1,33 @@ + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CurrencyNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CurrencyNode.composite new file mode 100644 index 0000000000..ed80268f22 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/CurrencyNode.composite @@ -0,0 +1,33 @@ + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreClientNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreClientNode.composite new file mode 100644 index 0000000000..91948b5476 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreClientNode.composite @@ -0,0 +1,33 @@ + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreDBNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreDBNode.composite new file mode 100644 index 0000000000..9b09bd7344 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreDBNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreEUNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreEUNode.composite new file mode 100644 index 0000000000..6a50de56d5 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreEUNode.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreEnterpriseNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreEnterpriseNode.composite new file mode 100644 index 0000000000..e4cc62a8c3 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreEnterpriseNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMarketNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMarketNode.composite new file mode 100644 index 0000000000..1bdd994c2b --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMarketNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMashupNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMashupNode.composite new file mode 100644 index 0000000000..0db43df8c3 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMashupNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMergerNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMergerNode.composite new file mode 100644 index 0000000000..0ce6e6a231 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreMergerNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreNode.composite new file mode 100644 index 0000000000..e2b61a98e1 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreNode.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreSupplierNode.composite b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreSupplierNode.composite new file mode 100644 index 0000000000..df46bb8813 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/cloud/StoreSupplierNode.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/domain.composite b/branches/sca-java-1.5.2/tutorials/store/domain/domain.composite new file mode 100644 index 0000000000..6d883b84b8 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/domain.composite @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCatalogMediationNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCatalogMediationNode.java new file mode 100644 index 0000000000..4e0772d211 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCatalogMediationNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchCatalogMediationNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/CatalogMediationNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCatalogsNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCatalogsNode.java new file mode 100644 index 0000000000..a0c04a2f34 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCatalogsNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchCatalogsNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/CatalogsNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCurrencyNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCurrencyNode.java new file mode 100644 index 0000000000..d9110f5804 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchCurrencyNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchCurrencyNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/CurrencyNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreDBNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreDBNode.java new file mode 100644 index 0000000000..b83db75646 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreDBNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreDBNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreDBNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreEUNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreEUNode.java new file mode 100644 index 0000000000..de0e421e2d --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreEUNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreEUNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreEUNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreEnterpriseNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreEnterpriseNode.java new file mode 100644 index 0000000000..1fbdbee497 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreEnterpriseNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreEnterpriseNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreEnterpriseNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMarketNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMarketNode.java new file mode 100644 index 0000000000..b95d2a8d74 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMarketNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreMarketNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreMarketNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMashupNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMashupNode.java new file mode 100644 index 0000000000..aa7cbdc4ca --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMashupNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreMashupNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreMashupNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMergerNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMergerNode.java new file mode 100644 index 0000000000..a29c9b7d61 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreMergerNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreMergerNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreMergerNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreNode.java new file mode 100644 index 0000000000..11f1b2ce86 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreSupplierNode.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreSupplierNode.java new file mode 100644 index 0000000000..fce27d7d3b --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchStoreSupplierNode.java @@ -0,0 +1,28 @@ +/* + * 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 launch; + +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchStoreSupplierNode { + public static void main(String[] args) throws Exception { + NodeLauncher.main(new String[] {"http://localhost:9990/node-config/StoreSupplierNode"}); + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchTutorialDomainManager.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchTutorialDomainManager.java new file mode 100644 index 0000000000..7408e99c63 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchTutorialDomainManager.java @@ -0,0 +1,33 @@ +/* + * 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 launch; + +/** + * Launches the domain manager from this module. + * + * @version $Rev$ $Date$ + */ +public class LaunchTutorialDomainManager { + + public static void main(String[] args) throws Exception { + org.apache.tuscany.sca.node.launcher.DomainManagerLauncher.main(args); + } + +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchWarehouseSpring.java b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchWarehouseSpring.java new file mode 100644 index 0000000000..a07a4bf635 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/launch/LaunchWarehouseSpring.java @@ -0,0 +1,55 @@ +/* + * 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 launch; + +import java.io.IOException; + +import org.apache.activemq.broker.BrokerService; +import org.apache.tuscany.sca.node.SCANode; +import org.apache.tuscany.sca.node.launcher.Contribution; +import org.apache.tuscany.sca.node.launcher.NodeLauncher; + +public class LaunchWarehouseSpring { + public static void main(String[] args) throws Exception { + + BrokerService jmsBroker; + jmsBroker = new BrokerService(); + jmsBroker.setPersistent(false); + jmsBroker.setUseJmx(false); + jmsBroker.addConnector("tcp://localhost:61619"); + jmsBroker.start(); + + NodeLauncher launcher = NodeLauncher.newInstance(); + SCANode node = launcher.createNode(null, + new Contribution("assets", "../assets/target/classes"), + new Contribution("warehouse", "../warehouse-spring/target/classes")); + node.start(); + + System.out.println("Press a key to stop"); + try { + System.in.read(); + } catch (IOException e) {} + + node.stop(); + + jmsBroker.stop(); + + } +} diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/pom.xml b/branches/sca-java-1.5.2/tutorials/store/domain/pom.xml new file mode 100644 index 0000000000..5edb6b2ac2 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/pom.xml @@ -0,0 +1,240 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-tutorial-store + 1.5.1-SNAPSHOT + ../pom.xml + + tutorial-domain + Apache Tuscany SCA Store Tutorial Domain + + + + apache.incubator + http://people.apache.org/repo/m2-incubating-repository + + + + + + org.apache.tuscany.sca + tuscany-node-launcher + 1.5.1-SNAPSHOT + + + + org.apache.tuscany.sca + tuscany-node-api + 1.5.1-SNAPSHOT + + + + org.apache.tuscany.sca + tuscany-domain-manager + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-node-runtime + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-java-runtime + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-widget-runtime-tuscany + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-resource-runtime + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-spring + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-spring-runtime + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-atom-js + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-atom-abdera + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-jsonrpc-js + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-jsonrpc-runtime + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-http-runtime + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-ws-axis2 + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-sca-axis2 + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-ejb-runtime + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-jms-runtime + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-host-jms-asf + 1.5.1-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-ejb + 1.5.1-SNAPSHOT + runtime + + + + org.apache.derby + derby + 10.3.1.4 + runtime + + + + org.apache.activemq + activemq-core + 5.2.0 + + + + org.apache.geronimo.specs + geronimo-jms_1.1_spec + 1.1 + provided + + + org.apache.geronimo.specs + geronimo-jms_1.1_spec + + + + + + + + ${artifactId} + ${basedir} + + + ${basedir} + + **/*.java + **/.*/** + pom.xml + build.xml + target/** + + + + + + org.apache.tuscany.sca + tuscany-maven-ant-generator + 1.5.1-SNAPSHOT + + + + launch.LaunchTutorialAdmin + ../../.. + + + generate + + + + + + + + diff --git a/branches/sca-java-1.5.2/tutorials/store/domain/workspace.xml b/branches/sca-java-1.5.2/tutorials/store/domain/workspace.xml new file mode 100644 index 0000000000..b01bd0c1d8 --- /dev/null +++ b/branches/sca-java-1.5.2/tutorials/store/domain/workspace.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3