diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-19 17:58:34 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-19 17:58:34 +0000 |
commit | 3f2d2c529886c804178874ca53e1c3b54e4cd041 (patch) | |
tree | 458cd3bd9fc67ca44b789edb88fa63e0d11e741d /tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo | |
parent | 6b5a81ebfbe2e8c4b3367f04a881956a4b81b0d5 (diff) |
Removing obsolete release candidate tag
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882224 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
6 files changed, 0 insertions, 226 deletions
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo.fragment b/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo.fragment deleted file mode 100755 index b7f79799b5..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo.fragment +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?>
-<!--
- Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-
-<moduleFragment xmlns="http://www.osoa.org/xmlns/sca/0.9"
- xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- xmlns:mvs="http://www.myvalue.org/MyValueService/"
- name="CustomerInfoComponent">
-
-
- <component name="CustomerInfoComponent">
- <implementation.cpp dll="CustomerInfo/libCustomerInfo.so" header="CustomerInfo/CustomerInfoImpl.h"></implementation.cpp>
- <properties>
- <v:Fred>x</v:Fred>
- <v:Joe>23</v:Joe>
- <Joe>42</Joe>
- </properties>
- <references>
- </references>
- </component>
-
-</moduleFragment>
-
\ No newline at end of file diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfo.h b/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfo.h deleted file mode 100755 index 766fc55fe6..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfo.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * - * Copyright 2005 The Apache Software Foundation or its licensors, as applicable. - * - * Licensed 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. - */ - -/* $Rev$ $Date$ */ - -#ifndef CustomerInfo_h -#define CustomerInfo_h - -class CustomerInfo -{ -public: - virtual const char* getCustomerInformation(const char* customerID) = 0; - -}; - -#endif diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfoImpl.componentType b/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfoImpl.componentType deleted file mode 100755 index 52988cb90a..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfoImpl.componentType +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?>
-<!--
- Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-
-<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9"
- xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
- <service name="CustomerInfoService">
- <interface.cpp header="CustomerInfo/CustomerInfo.h">
- </interface.cpp>
- </service>
-
- <property name="Fred" type="xs:string"/>
- <property name="Joe" type="xs:integer" many="true"/>
-
-</componentType>
-
\ No newline at end of file diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfoImpl.cpp b/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfoImpl.cpp deleted file mode 100755 index ed3ff5e2ff..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfoImpl.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/* - * - * Copyright 2005 The Apache Software Foundation or its licensors, as applicable. - * - * Licensed 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. - */ - -/* $Rev$ $Date$ */ - -#include "CustomerInfoImpl.h" -#include <ostream> -#include <string.h> -#include "osoa/sca/sca.h" -#include "commonj/sdo/DataObjectInstance.h" -using namespace osoa::sca; -using namespace commonj::sdo; - -////////////////////////////////////////////////////////////////////// -// Construction/Destruction -////////////////////////////////////////////////////////////////////// - -CustomerInfoImpl::CustomerInfoImpl() -{ - cout << "Construct CustomerInfoImpl" << endl; - -} - -CustomerInfoImpl::~CustomerInfoImpl() -{ - cout << "Destroy CustomerInfoImpl" << endl; -} - -////////////////////////////////////////////////////////////////////// -// Other methods -////////////////////////////////////////////////////////////////////// -const char* CustomerInfoImpl::getCustomerInformation(const char* customerID) -{ - cout << "In getCustomerInformation with customerid: " << customerID << endl; - - - - ComponentContext myContext = ComponentContext::getCurrent(); - - DataObjectInstance properties = myContext.getProperties(); - DataObjectInstance props2 = properties; - if (properties) - { - const char* fredVal = properties->getCString("Fred"); - cout << "Property Fred value: " << fredVal <<endl; - - - DataObjectList& joeList = properties->getList("Joe"); - for (int i=0; i<joeList.size();i++) - { - cout << "Property Joe value " << i << ": " << joeList.getInteger(i) <<endl; - } - } - - if (!strcmp("12345", customerID)) - { - return "IBM"; - } - else - { - throw "Wobbler"; - } - - -} diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfoImpl.h b/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfoImpl.h deleted file mode 100755 index c943b1d666..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/CustomerInfoImpl.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * - * Copyright 2005 The Apache Software Foundation or its licensors, as applicable. - * - * Licensed 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. - */ - -/* $Rev$ $Date$ */ - -#ifndef CustomerInfoImpl_h -#define CustomerInfoImpl_h - -#include "CustomerInfo.h" - - - -class CustomerInfoImpl : public CustomerInfo -{ -public: - CustomerInfoImpl(); - virtual ~CustomerInfoImpl(); - virtual const char* getCustomerInformation(const char* customerID); - -}; - -#endif diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/Makefile.am b/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/Makefile.am deleted file mode 100644 index 78161c429c..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/samples/MyValue/MyValueModule/CustomerInfo/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -lib_LTLIBRARIES = libCustomerInfo.la - -libCustomerInfo_la_SOURCES = \ -CustomerInfoImpl.cpp \ -CustomerInfoImpl_CustomerInfoService_Proxy.cpp \ -CustomerInfoImpl_CustomerInfoService_Wrapper.cpp - -libCustomerInfo_la_LIBADD = -L$(top_builddir)/runtime/core/src -ltuscany_sca \ - -L${TUSCANY_SDOCPP}/lib -ltuscany_sdo - -INCLUDES = -I.. \ - -I$(top_builddir)/runtime/core/src \ - -I${TUSCANY_SDOCPP}/include - -install:
\ No newline at end of file |