From 4ed0ed906e82c9484b384419fa4ef4c980768731 Mon Sep 17 00:00:00 2001 From: lresende Date: Thu, 13 Nov 2008 20:02:36 +0000 Subject: Creating Java SCA 1.x branch git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@713805 13f79535-47bb-0310-9956-ffa450edef68 --- .../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 ++++++++++++++++++ .../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 ++++++++++++++++++++++ 11 files changed, 313 insertions(+) create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogMediationNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogsNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCurrencyNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreDBNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreEUNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMarketNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMashupNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMergerNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreSupplierNode.java create mode 100644 branches/sca-java-1.x/tutorials/store/domain/launch/LaunchTutorialDomainManager.java (limited to 'branches/sca-java-1.x/tutorials/store/domain/launch') diff --git a/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogMediationNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogMediationNode.java new file mode 100644 index 0000000000..4e0772d211 --- /dev/null +++ b/branches/sca-java-1.x/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.x/tutorials/store/domain/launch/LaunchCatalogsNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCatalogsNode.java new file mode 100644 index 0000000000..a0c04a2f34 --- /dev/null +++ b/branches/sca-java-1.x/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.x/tutorials/store/domain/launch/LaunchCurrencyNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchCurrencyNode.java new file mode 100644 index 0000000000..d9110f5804 --- /dev/null +++ b/branches/sca-java-1.x/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.x/tutorials/store/domain/launch/LaunchStoreDBNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreDBNode.java new file mode 100644 index 0000000000..b83db75646 --- /dev/null +++ b/branches/sca-java-1.x/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.x/tutorials/store/domain/launch/LaunchStoreEUNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreEUNode.java new file mode 100644 index 0000000000..de0e421e2d --- /dev/null +++ b/branches/sca-java-1.x/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.x/tutorials/store/domain/launch/LaunchStoreMarketNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMarketNode.java new file mode 100644 index 0000000000..b95d2a8d74 --- /dev/null +++ b/branches/sca-java-1.x/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.x/tutorials/store/domain/launch/LaunchStoreMashupNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMashupNode.java new file mode 100644 index 0000000000..aa7cbdc4ca --- /dev/null +++ b/branches/sca-java-1.x/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.x/tutorials/store/domain/launch/LaunchStoreMergerNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreMergerNode.java new file mode 100644 index 0000000000..a29c9b7d61 --- /dev/null +++ b/branches/sca-java-1.x/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.x/tutorials/store/domain/launch/LaunchStoreNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreNode.java new file mode 100644 index 0000000000..11f1b2ce86 --- /dev/null +++ b/branches/sca-java-1.x/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.x/tutorials/store/domain/launch/LaunchStoreSupplierNode.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchStoreSupplierNode.java new file mode 100644 index 0000000000..fce27d7d3b --- /dev/null +++ b/branches/sca-java-1.x/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.x/tutorials/store/domain/launch/LaunchTutorialDomainManager.java b/branches/sca-java-1.x/tutorials/store/domain/launch/LaunchTutorialDomainManager.java new file mode 100644 index 0000000000..7408e99c63 --- /dev/null +++ b/branches/sca-java-1.x/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); + } + +} -- cgit v1.2.3