summaryrefslogtreecommitdiffstats
path: root/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo
diff options
context:
space:
mode:
Diffstat (limited to 'tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo')
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.cdtbuild41
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.cdtproject15
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.project19
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.settings/org.eclipse.cdt.managedbuilder.core.prefs9
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfo.h30
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.cpp80
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.h36
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.cpp63
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.h38
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp72
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.h40
-rw-r--r--tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/Makefile.am15
12 files changed, 0 insertions, 458 deletions
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.cdtbuild b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.cdtbuild
deleted file mode 100644
index ed308ead8d..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.cdtbuild
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?fileVersion 3.0.0?>
-
-<ManagedProjectBuildInfo>
-<project id="tuscany_sca_test_CustomerInfo.cdt.managedbuild.target.gnu.so.1305856867" name="Shared Library (Gnu)" projectType="cdt.managedbuild.target.gnu.so">
-<configuration artifactExtension="so" artifactName="CustomerInfo" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.so.debug.180210457" name="Debug" parent="cdt.managedbuild.config.gnu.so.debug">
-<toolChain id="cdt.managedbuild.toolchain.gnu.so.debug.150489083" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.so.debug">
-<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.compiler.so.debug.744339895" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.so.debug"/>
-<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.compiler.so.debug.773936698" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.so.debug">
-<option id="gnu.cpp.compiler.option.preprocessor.def.1937348866" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
-<listOptionValue builtIn="false" value="_DEBUG"/>
-</option>
-<option id="gnu.cpp.compiler.option.include.paths.1481017815" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
-<listOptionValue builtIn="false" value="${SCA4CPP_HOME}/runtime/core/src"/>
-<listOptionValue builtIn="false" value="${SDO4CPP}/include"/>
-</option>
-</tool>
-<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.linker.so.debug.2091259285" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.so.debug"/>
-<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.linker.so.debug.509296678" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.so.debug"/>
-<tool command="as" id="cdt.managedbuild.tool.gnu.assembler.so.debug.187343736" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.so.debug"/>
-<macros/>
-</toolChain>
-</configuration>
-<configuration artifactExtension="so" artifactName="CustomerInfo" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.so.release.954607388" name="Release" parent="cdt.managedbuild.config.gnu.so.release">
-<toolChain id="cdt.managedbuild.toolchain.gnu.so.release.1899157892" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.so.release">
-<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.compiler.so.release.1905763267" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.so.release"/>
-<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.compiler.so.release.91975924" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.so.release">
-<option id="gnu.cpp.compiler.option.include.paths.695258843" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
-<listOptionValue builtIn="false" value="${SCA4CPP_HOME}/runtime/core/src"/>
-<listOptionValue builtIn="false" value="${SDO4CPP}/include"/>
-</option>
-</tool>
-<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.linker.so.release.749931234" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.so.release"/>
-<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.linker.so.release.636362934" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.so.release"/>
-<tool command="as" id="cdt.managedbuild.tool.gnu.assembler.so.release.1971799783" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.so.release"/>
-<macros/>
-</toolChain>
-</configuration>
-<macros/>
-</project>
-</ManagedProjectBuildInfo>
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.cdtproject b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.cdtproject
deleted file mode 100644
index 48a12e6664..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.cdtproject
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse-cdt version="2.0"?>
-
-<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
-<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
-<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
-<extension id="org.eclipse.cdt.core.domsourceindexer" point="org.eclipse.cdt.core.CIndexer"/>
-<data>
-<item id="org.eclipse.cdt.core.pathentry">
-<pathentry kind="src" path=""/>
-<pathentry kind="out" path=""/>
-<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
-</item>
-</data>
-</cdtproject>
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.project b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.project
deleted file mode 100644
index 60a0a75176..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.project
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>tuscany_sca_test_CustomerInfo</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.cdt.core.cnature</nature>
- <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
- <nature>org.eclipse.cdt.core.ccnature</nature>
- </natures>
-</projectDescription>
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.settings/org.eclipse.cdt.managedbuilder.core.prefs
deleted file mode 100644
index 691a33706a..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/.settings/org.eclipse.cdt.managedbuilder.core.prefs
+++ /dev/null
@@ -1,9 +0,0 @@
-#Tue Nov 29 15:05:50 GMT 2005
-eclipse.preferences.version=1
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.so.debug.180210457=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="CPATH" operation\="remove"/>\n<variable name\="CPLUS_INCLUDE_PATH" operation\="remove"/>\n</environment>\n
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.so.release.954607388=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="CPATH" operation\="remove"/>\n<variable name\="CPLUS_INCLUDE_PATH" operation\="remove"/>\n</environment>\n
-environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.so.debug.180210457=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="LIBRARY_PATH" operation\="remove"/>\n</environment>\n
-environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.so.release.954607388=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="LIBRARY_PATH" operation\="remove"/>\n</environment>\n
-environment/project=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
-environment/project/cdt.managedbuild.config.gnu.so.debug.180210457=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
-environment/project/cdt.managedbuild.config.gnu.so.release.954607388=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfo.h b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfo.h
deleted file mode 100644
index 6372a5a45a..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/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: 2005/12/22 11:33:21 $ */
-
-#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/runtime/core/test/CustomerInfo/CustomerInfoImpl.cpp b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.cpp
deleted file mode 100644
index 371ab74f14..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.cpp
+++ /dev/null
@@ -1,80 +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: 2005/12/22 11:33:21 $ */
-
-#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;
-using namespace std;
-
-//////////////////////////////////////////////////////////////////////
-// 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 "xzderg";
- }
- else
- {
- throw "Wobbler";
- }
-
-
-}
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.h b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.h
deleted file mode 100644
index 7f70664f68..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/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: 2005/12/22 11:33:21 $ */
-
-#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/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.cpp b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.cpp
deleted file mode 100644
index e6cb3b3426..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.cpp
+++ /dev/null
@@ -1,63 +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.
- */
-
-#include "CustomerInfoImpl_CustomerInfoService_Proxy.h"
-
-#include "osoa/sca/sca.h"
-using namespace osoa::sca;
-using namespace tuscany::sca;
-
-extern "C"
-{
-
- #if defined(WIN32) || defined(_WINDOWS)
- __declspec(dllexport)
- #endif
- CustomerInfoImpl_CustomerInfoService_Proxy* CustomerInfoImpl_CustomerInfoService_Proxy_Factory(ServiceWrapper* target)
- {
- return new CustomerInfoImpl_CustomerInfoService_Proxy(target);
- }
-
- #if defined(WIN32) || defined(_WINDOWS)
- __declspec(dllexport)
- #endif
- void CustomerInfoImpl_CustomerInfoService_Proxy_Destructor(void* proxy)
- {
- delete (CustomerInfoImpl_CustomerInfoService_Proxy*)proxy;
- }
-}
-
-CustomerInfoImpl_CustomerInfoService_Proxy::CustomerInfoImpl_CustomerInfoService_Proxy(ServiceWrapper* targ) : target(targ)
-{
-}
-
-CustomerInfoImpl_CustomerInfoService_Proxy::~CustomerInfoImpl_CustomerInfoService_Proxy()
-{
- if (target)
- delete target;
-}
-
-const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformation(const char* arg0)
-{
- Operation operation("getCustomerInformation");
- operation.addParameter(&arg0);
- const char* ret;
- operation.setReturnValue(&ret);
- target->invoke(operation);
- return ret;
-}
-
-
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.h b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.h
deleted file mode 100644
index 7173dacd34..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.h
+++ /dev/null
@@ -1,38 +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.
- */
-
-#ifndef CustomerInfoImpl_CustomerInfoService_Proxy_h
-#define CustomerInfoImpl_CustomerInfoService_Proxy_h
-
-#if defined(WIN32) || defined (_WINDOWS)
-#pragma warning(disable: 4786)
-#endif
-
-#include "CustomerInfo.h"
-#include "tuscany/sca/core/ServiceWrapper.h"
-
-class CustomerInfoImpl_CustomerInfoService_Proxy : public CustomerInfo
-{
-public:
- CustomerInfoImpl_CustomerInfoService_Proxy(tuscany::sca::ServiceWrapper*);
- virtual ~CustomerInfoImpl_CustomerInfoService_Proxy();
- virtual const char* getCustomerInformation(const char* customerID);
-private:
- tuscany::sca::ServiceWrapper* target;
-};
-
-#endif // CustomerInfoImpl_CustomerInfoService_Proxy_h
-
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp
deleted file mode 100644
index 1f28bf5715..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp
+++ /dev/null
@@ -1,72 +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.
- */
-
-#include "CustomerInfoImpl_CustomerInfoService_Wrapper.h"
-
-#include "osoa/sca/sca.h"
-using namespace osoa::sca;
-using namespace tuscany::sca;
-
-
-
-extern "C"
-{
-
- #if defined(WIN32) || defined(_WINDOWS)
- __declspec(dllexport)
- #endif
- CustomerInfoImpl_CustomerInfoService_Wrapper* CustomerInfoImpl_CustomerInfoService_Wrapper_Factory(tuscany::sca::model::Service* target)
- {
- return new CustomerInfoImpl_CustomerInfoService_Wrapper(target);
- }
-}
-
-CustomerInfoImpl_CustomerInfoService_Wrapper::CustomerInfoImpl_CustomerInfoService_Wrapper(Service* target) : ComponentServiceWrapper(target)
-{
- impl = (CustomerInfoImpl*)getImplementation();
-}
-
-CustomerInfoImpl_CustomerInfoService_Wrapper::~CustomerInfoImpl_CustomerInfoService_Wrapper()
-{
- releaseImplementation();
-}
-
-void* CustomerInfoImpl_CustomerInfoService_Wrapper::newImplementation()
-{
- return new CustomerInfoImpl;
-}
-
-void CustomerInfoImpl_CustomerInfoService_Wrapper::deleteImplementation()
-{
- delete impl;
-}
-
-void CustomerInfoImpl_CustomerInfoService_Wrapper::invokeService(Operation& operation)
-{
- const string& operationName = operation.getName();
-
- if (operationName == "getCustomerInformation")
- {
- const char* p0 = *(const char**)operation.getParameterValue(0);
- *(const char**)operation.getReturnValue() = impl->getCustomerInformation(p0);
- return;
- }
-
-
- throw ServiceRuntimeException("Invalid operation");
-
-}
-
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.h b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.h
deleted file mode 100644
index 5fb82c4295..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.h
+++ /dev/null
@@ -1,40 +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.
- */
-
-#ifndef CustomerInfoImpl_CustomerInfoService_Wrapper_h
-#define CustomerInfoImpl_CustomerInfoService_Wrapper_h
-
-#if defined(WIN32) || defined (_WINDOWS)
-#pragma warning(disable: 4786)
-#endif
-
-#include "CustomerInfoImpl.h"
-#include "tuscany/sca/core/ComponentServiceWrapper.h"
-
-class CustomerInfoImpl_CustomerInfoService_Wrapper : public tuscany::sca::ComponentServiceWrapper
-{
-public:
- CustomerInfoImpl_CustomerInfoService_Wrapper(tuscany::sca::model::Service* target);
- virtual ~CustomerInfoImpl_CustomerInfoService_Wrapper();
- virtual void invokeService(tuscany::sca::Operation& operation);
- virtual void* newImplementation();
- virtual void deleteImplementation();
-private:
- CustomerInfoImpl* impl;
-};
-
-#endif // CustomerInfoImpl_CustomerInfoService_Wrapper_h
-
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/Makefile.am b/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/CustomerInfo/Makefile.am
deleted file mode 100644
index baf839d51a..0000000000
--- a/tags/cpp-0.1.incubating-M1-RC3b/sca/runtime/core/test/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
-
-noinst_HEADERS = *.h
-
-libCustomerInfo_la_LIBADD =
-
-INCLUDES = -I$(top_builddir)/runtime/core/src \
- -I${TUSCANY_SDOCPP}/include
-
-install: \ No newline at end of file