From 4b3149233be777a531417eb0ca6bafff0483fa1c Mon Sep 17 00:00:00 2001 From: kelvingoodson Date: Thu, 27 May 2010 12:19:53 +0000 Subject: Branch for 2.0 Milestone M5 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@948800 13f79535-47bb-0310-9956-ffa450edef68 --- .../corba/testing/service/mocks/TestDataType.java | 88 +++++++ .../corba/testing/service/mocks/TestInterface.java | 163 ++++++++++++ .../service/mocks/TestInterfaceContract.java | 58 ++++ .../corba/testing/service/mocks/TestOperation.java | 173 ++++++++++++ .../service/mocks/TestRuntimeComponentService.java | 220 ++++++++++++++++ .../testing/service/mocks/TestRuntimeWire.java | 292 +++++++++++++++++++++ 6 files changed, 994 insertions(+) create mode 100644 sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestDataType.java create mode 100644 sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterface.java create mode 100644 sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterfaceContract.java create mode 100644 sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestOperation.java create mode 100644 sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeComponentService.java create mode 100644 sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeWire.java (limited to 'sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service') diff --git a/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestDataType.java b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestDataType.java new file mode 100644 index 0000000000..7ebc3fce85 --- /dev/null +++ b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestDataType.java @@ -0,0 +1,88 @@ +/* + * 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 org.apache.tuscany.sca.binding.corba.testing.service.mocks; + +import java.lang.reflect.Type; + +import org.apache.tuscany.sca.interfacedef.DataType; + +/** + * Mock DataType implementation. Only few methods needs to be implemented. + */ +public class TestDataType implements DataType { + + public Class typeClass; + public L logical; + + public TestDataType(Class typeClass) { + this.typeClass = typeClass; + } + + public TestDataType(Class typeClass, L logical) { + this.typeClass = typeClass; + this.logical = logical; + } + + public String getDataBinding() { + return null; + } + + public Type getGenericType() { + return null; + } + + public L getLogical() { + return logical; + } + + public T getMetaData(Class arg0) { + return null; + } + + public Class getPhysical() { + return typeClass; + } + + public void setDataBinding(String arg0) { + + } + + public void setGenericType(Type arg0) { + + } + + public void setLogical(L arg0) { + + } + + public void setMetaData(Class arg0, T arg1) { + + } + + public void setPhysical(Class arg0) { + + } + + @Override + public Object clone() { + return null; + } + +} diff --git a/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterface.java b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterface.java new file mode 100644 index 0000000000..757beeae7d --- /dev/null +++ b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterface.java @@ -0,0 +1,163 @@ +/* + * 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 org.apache.tuscany.sca.binding.corba.testing.service.mocks; + +import java.util.List; +import java.util.Map; + +import javax.xml.namespace.QName; + +import org.apache.tuscany.sca.interfacedef.Interface; +import org.apache.tuscany.sca.interfacedef.Operation; +import org.apache.tuscany.sca.interfacedef.java.JavaInterface; +import org.apache.tuscany.sca.policy.ExtensionType; +import org.apache.tuscany.sca.policy.Intent; +import org.apache.tuscany.sca.policy.PolicySet; + +/** + * Mock TestInterface implementation. Only few methods needs to be implemented. + */ +public class TestInterface implements JavaInterface { + + private List operations; + private Class javaClass; + + public TestInterface(List opearations, Class javaClass) { + this.operations = opearations; + this.javaClass = javaClass; + } + + public List getOperations() { + return operations; + } + + public boolean isConversational() { + return false; + } + + public boolean isDynamic() { + return false; + } + + public boolean isRemotable() { + return false; + } + + public void resetDataBinding(String dataBinding) { + + } + + public void setConversational(boolean conversational) { + + } + + public void setDefaultDataBinding(String dataBinding) { + + } + + public void setRemotable(boolean remotable) { + + } + + public List getApplicablePolicySets() { + return null; + } + + public List getPolicySets() { + return null; + } + + public List getRequiredIntents() { + return null; + } + + @Override + public Object clone() { + return null; + } + + public Class getCallbackClass() { + return null; + } + + public Class getJavaClass() { + return javaClass; + } + + public String getName() { + return null; + } + + public QName getQName() { + return null; + } + + public void setCallbackClass(Class arg0) { + } + + public void setJavaClass(Class javaClass) { + this.javaClass = javaClass; + } + + public void setName(String arg0) { + } + + public void setQName(QName arg0) { + + } + + public boolean isUnresolved() { + return false; + } + + public void setUnresolved(boolean arg0) { + } + + public Map getAttributes() { + // TODO Auto-generated method stub + return null; + } + + public boolean isRemotableSet() { + // TODO Auto-generated method stub + return false; + } + + public void resetInterfaceInputTypes(Interface newInterface) { + // TODO Auto-generated method stub + + } + + public void resetInterfaceOutputTypes(Interface newInterface) { + // TODO Auto-generated method stub + + } + + public ExtensionType getExtensionType() { + // TODO Auto-generated method stub + return null; + } + + public void setExtensionType(ExtensionType type) { + // TODO Auto-generated method stub + + } + +} diff --git a/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterfaceContract.java b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterfaceContract.java new file mode 100644 index 0000000000..d691705955 --- /dev/null +++ b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterfaceContract.java @@ -0,0 +1,58 @@ +/* + * 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 org.apache.tuscany.sca.binding.corba.testing.service.mocks; + +import org.apache.tuscany.sca.interfacedef.Interface; +import org.apache.tuscany.sca.interfacedef.InterfaceContract; + +/** + * Mock InterfaceContract implementation. Only few methods needs to be + * implemented. + */ +public class TestInterfaceContract implements InterfaceContract { + + private Interface iface; + + public Interface getCallbackInterface() { + return null; + } + + public Interface getInterface() { + return iface; + } + + public InterfaceContract makeUnidirectional(boolean isCallback) { + return null; + } + + public void setCallbackInterface(Interface callbackInterface) { + + } + + public void setInterface(Interface callInterface) { + this.iface = callInterface; + } + + @Override + public Object clone() { + return null; + } + +} diff --git a/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestOperation.java b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestOperation.java new file mode 100644 index 0000000000..3a55eb642c --- /dev/null +++ b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestOperation.java @@ -0,0 +1,173 @@ +/* + * 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 org.apache.tuscany.sca.binding.corba.testing.service.mocks; + +import java.util.List; +import java.util.Map; + +import javax.xml.namespace.QName; + +import org.apache.tuscany.sca.interfacedef.DataType; +import org.apache.tuscany.sca.interfacedef.Interface; +import org.apache.tuscany.sca.interfacedef.Operation; +import org.apache.tuscany.sca.interfacedef.util.WrapperInfo; +import org.apache.tuscany.sca.interfacedef.util.XMLType; +import org.apache.tuscany.sca.policy.ExtensionType; +import org.apache.tuscany.sca.policy.Intent; +import org.apache.tuscany.sca.policy.PolicySet; + +/** + * Mock Operation implementation. Only few methods needs to be implemented. + */ +public class TestOperation implements Operation { + + private DataType> inputType; + private DataType outputType; + private String name; + + public String getDataBinding() { + return null; + } + + public Map>> getFaultBeans() { + return null; + } + + public List getFaultTypes() { + return null; + } + + public DataType> getInputType() { + return inputType; + } + + public Interface getInterface() { + return null; + } + + public String getName() { + return name; + } + + public DataType getOutputType() { + return outputType; + } + + public WrapperInfo getWrapper() { + return null; + } + + public boolean isDynamic() { + return false; + } + + public boolean isNonBlocking() { + return false; + } + + public boolean isUnresolved() { + return false; + } + + public boolean isWrapperStyle() { + return false; + } + + public void setDataBinding(String dataBinding) { + + } + + public void setDynamic(boolean b) { + + } + + public void setFaultBeans(Map>> faultBeans) { + + } + + public void setFaultTypes(List faultTypes) { + + } + + public void setInputType(DataType> inputType) { + this.inputType = inputType; + } + + public void setInterface(Interface interfaze) { + + } + + public void setName(String name) { + this.name = name; + } + + public void setNonBlocking(boolean nonBlocking) { + + } + + public void setOutputType(DataType outputType) { + this.outputType = outputType; + } + + public void setUnresolved(boolean unresolved) { + + } + + public void setWrapper(WrapperInfo wrapperInfo) { + + } + + public void setWrapperStyle(boolean wrapperStyle) { + + } + + public List getApplicablePolicySets() { + return null; + } + + public List getPolicySets() { + return null; + } + + @Override + public Object clone() { + return null; + } + + public List getRequiredIntents() { + return null; + } + + public Map getAttributes() { + // TODO Auto-generated method stub + return null; + } + + public ExtensionType getExtensionType() { + // TODO Auto-generated method stub + return null; + } + + public void setExtensionType(ExtensionType type) { + // TODO Auto-generated method stub + + } + +} diff --git a/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeComponentService.java b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeComponentService.java new file mode 100644 index 0000000000..bc19b82aec --- /dev/null +++ b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeComponentService.java @@ -0,0 +1,220 @@ +/* + * 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 org.apache.tuscany.sca.binding.corba.testing.service.mocks; + +import java.lang.reflect.Method; +import java.lang.reflect.Modifier; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import org.apache.tuscany.sca.assembly.Binding; +import org.apache.tuscany.sca.assembly.Callback; +import org.apache.tuscany.sca.assembly.ComponentReference; +import org.apache.tuscany.sca.assembly.Endpoint; +import org.apache.tuscany.sca.assembly.Extension; +import org.apache.tuscany.sca.assembly.Service; +import org.apache.tuscany.sca.interfacedef.DataType; +import org.apache.tuscany.sca.interfacedef.InterfaceContract; +import org.apache.tuscany.sca.interfacedef.Operation; +import org.apache.tuscany.sca.policy.ExtensionType; +import org.apache.tuscany.sca.policy.Intent; +import org.apache.tuscany.sca.policy.PolicySet; +import org.apache.tuscany.sca.runtime.RuntimeComponentService; +import org.apache.tuscany.sca.runtime.RuntimeEndpoint; + +/** + * Mock RuntimeComponentService implementation. Only few methods needs to be + * implemented. + */ +public class TestRuntimeComponentService implements RuntimeComponentService { + + private InterfaceContract interfaceContract; + private RuntimeEndpoint runtimeWire; + + public TestRuntimeComponentService(Object invocationTarget) { + List operations = new ArrayList(); + Method[] methods = invocationTarget.getClass().getMethods(); + for (int i = 0; i < methods.length; i++) { + int mod = methods[i].getModifiers(); + if (methods[i].getDeclaringClass().equals(invocationTarget.getClass()) && Modifier.isPublic(mod) + && !methods[i].getName().startsWith("_")) { + Operation operation = new TestOperation(); + DataType returnType = new TestDataType(methods[i].getReturnType()); + operation.setOutputType(returnType); + Class[] argTypes = methods[i].getParameterTypes(); + List argDataTypes = new ArrayList(); + for (int j = 0; j < argTypes.length; j++) { + argDataTypes.add(new TestDataType(argTypes[j])); + } + TestDataType> inputDataType = new TestDataType>(null, argDataTypes); + operation.setInputType(inputDataType); + operations.add(operation); + operation.setName(methods[i].getName()); + } + } + TestInterface iface = new TestInterface(operations, invocationTarget.getClass()); + interfaceContract = new TestInterfaceContract(); + interfaceContract.setInterface(iface); + runtimeWire = new TestRuntimeWire(interfaceContract, invocationTarget); + } + + public ComponentReference getCallbackReference() { + // TODO Auto-generated method stub + return null; + } + + public Service getService() { + // TODO Auto-generated method stub + return null; + } + + public void setCallbackReference(ComponentReference callbackReference) { + // TODO Auto-generated method stub + + } + + public void setService(Service service) { + // TODO Auto-generated method stub + + } + + public List getEndpoints() { + // TODO Auto-generated method stub + return Arrays.asList((Endpoint)runtimeWire); + } + + public B getBinding(Class bindingClass) { + // TODO Auto-generated method stub + return null; + } + + public List getBindings() { + // TODO Auto-generated method stub + return null; + } + + public Callback getCallback() { + // TODO Auto-generated method stub + return null; + } + + public B getCallbackBinding(Class bindingClass) { + // TODO Auto-generated method stub + return null; + } + + public InterfaceContract getInterfaceContract(Binding binding) { + // TODO Auto-generated method stub + return interfaceContract; + } + + public boolean isOverridingBindings() { + // TODO Auto-generated method stub + return false; + } + + public void setCallback(Callback callback) { + // TODO Auto-generated method stub + + } + + public void setOverridingBindings(boolean overridingBindings) { + // TODO Auto-generated method stub + + } + + public InterfaceContract getInterfaceContract() { + // TODO Auto-generated method stub + return interfaceContract; + } + + public String getName() { + // TODO Auto-generated method stub + return null; + } + + public boolean isForCallback() { + // TODO Auto-generated method stub + return false; + } + + public void setForCallback(boolean isCallback) { + // TODO Auto-generated method stub + + } + + public void setInterfaceContract(InterfaceContract interfaceContract) { + // TODO Auto-generated method stub + + } + + public void setName(String name) { + // TODO Auto-generated method stub + + } + + public List getAttributeExtensions() { + // TODO Auto-generated method stub + return null; + } + + public List getExtensions() { + // TODO Auto-generated method stub + return null; + } + + public boolean isUnresolved() { + // TODO Auto-generated method stub + return false; + } + + public void setUnresolved(boolean unresolved) { + // TODO Auto-generated method stub + + } + + @Override + public Object clone() throws CloneNotSupportedException { + // TODO Auto-generated method stub + return super.clone(); + } + + public ExtensionType getExtensionType() { + // TODO Auto-generated method stub + return null; + } + + public List getPolicySets() { + // TODO Auto-generated method stub + return null; + } + + public List getRequiredIntents() { + // TODO Auto-generated method stub + return null; + } + + public void setExtensionType(ExtensionType type) { + // TODO Auto-generated method stub + + } + +} diff --git a/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeWire.java b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeWire.java new file mode 100644 index 0000000000..e68f4dee72 --- /dev/null +++ b/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeWire.java @@ -0,0 +1,292 @@ +/* + * 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 org.apache.tuscany.sca.binding.corba.testing.service.mocks; + +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.util.List; + +import org.apache.tuscany.sca.assembly.Binding; +import org.apache.tuscany.sca.assembly.Component; +import org.apache.tuscany.sca.assembly.ComponentService; +import org.apache.tuscany.sca.assembly.Contract; +import org.apache.tuscany.sca.assembly.EndpointReference; +import org.apache.tuscany.sca.context.CompositeContext; +import org.apache.tuscany.sca.core.ExtensionPointRegistry; +import org.apache.tuscany.sca.interfacedef.InterfaceContract; +import org.apache.tuscany.sca.interfacedef.Operation; +import org.apache.tuscany.sca.invocation.InvocationChain; +import org.apache.tuscany.sca.invocation.Message; +import org.apache.tuscany.sca.policy.ExtensionType; +import org.apache.tuscany.sca.policy.Intent; +import org.apache.tuscany.sca.policy.PolicySet; +import org.apache.tuscany.sca.provider.PolicyProvider; +import org.apache.tuscany.sca.provider.ServiceBindingProvider; +import org.apache.tuscany.sca.runtime.EndpointRegistry; +import org.apache.tuscany.sca.runtime.RuntimeEndpoint; + +/** + * Mock RuntimeWire implementation. Only few methods needs to be implemented. + */ +public class TestRuntimeWire implements RuntimeEndpoint { + private Object invocationTarget; + private InterfaceContract interfaceContract; + + public TestRuntimeWire(InterfaceContract interfaceContract, Object invocationTarget) { + this.interfaceContract = interfaceContract; + this.invocationTarget = invocationTarget; + } + + + public Object invoke(Operation operation, Object[] args) throws InvocationTargetException { + Class[] types = new Class[args.length]; + for (int i = 0; i < args.length; i++) { + types[i] = args[i].getClass(); + } + Object result = null; + try { + Method[] methods = invocationTarget.getClass().getMethods(); + for (int i = 0; i < methods.length; i++) { + if (methods[i].getName().equals(operation.getName())) { + result = methods[i].invoke(invocationTarget, args); + break; + } + } + } catch (InvocationTargetException e) { + throw e; + } catch (IllegalAccessException e) { + e.printStackTrace(); + } + + return result; + } + + + @Override + public Object clone() throws CloneNotSupportedException { + // TODO Auto-generated method stub + return super.clone(); + } + + + public InterfaceContract getBindingInterfaceContract() { + // TODO Auto-generated method stub + return interfaceContract; + } + + + public ServiceBindingProvider getBindingProvider() { + // TODO Auto-generated method stub + return null; + } + + + public InterfaceContract getComponentTypeServiceInterfaceContract() { + // TODO Auto-generated method stub + return interfaceContract; + } + + + public void setBindingProvider(ServiceBindingProvider provider) { + // TODO Auto-generated method stub + + } + + + public boolean isUnresolved() { + // TODO Auto-generated method stub + return false; + } + + + public void setUnresolved(boolean unresolved) { + // TODO Auto-generated method stub + + } + + + public ExtensionType getExtensionType() { + // TODO Auto-generated method stub + return null; + } + + + public List getPolicySets() { + // TODO Auto-generated method stub + return null; + } + + + public List getRequiredIntents() { + // TODO Auto-generated method stub + return null; + } + + + public void setExtensionType(ExtensionType type) { + // TODO Auto-generated method stub + + } + + + public void bind(CompositeContext context) { + // TODO Auto-generated method stub + + } + + + public void bind(ExtensionPointRegistry registry, EndpointRegistry endpointRegistry) { + // TODO Auto-generated method stub + + } + + + public InvocationChain getBindingInvocationChain() { + // TODO Auto-generated method stub + return null; + } + + + public CompositeContext getCompositeContext() { + // TODO Auto-generated method stub + return null; + } + + + public Contract getContract() { + // TODO Auto-generated method stub + return null; + } + + + public InvocationChain getInvocationChain(Operation operation) { + // TODO Auto-generated method stub + return null; + } + + + public List getInvocationChains() { + // TODO Auto-generated method stub + return null; + } + + + public List getPolicyProviders() { + // TODO Auto-generated method stub + return null; + } + + + public Message invoke(Message msg) { + // TODO Auto-generated method stub + return null; + } + + + public Message invoke(Operation operation, Message msg) { + // TODO Auto-generated method stub + return null; + } + + + public void unbind() { + // TODO Auto-generated method stub + + } + + + public Binding getBinding() { + // TODO Auto-generated method stub + return null; + } + + + public List getCallbackEndpointReferences() { + // TODO Auto-generated method stub + return null; + } + + + public Component getComponent() { + // TODO Auto-generated method stub + return null; + } + + + public InterfaceContract getComponentServiceInterfaceContract() { + // TODO Auto-generated method stub + return interfaceContract; + } + + + public ComponentService getService() { + // TODO Auto-generated method stub + return null; + } + + + public String getURI() { + // TODO Auto-generated method stub + return null; + } + + + public boolean isRemote() { + // TODO Auto-generated method stub + return false; + } + + + public boolean matches(String serviceURI) { + // TODO Auto-generated method stub + return false; + } + + + public void setBinding(Binding binding) { + // TODO Auto-generated method stub + + } + + + public void setComponent(Component component) { + // TODO Auto-generated method stub + + } + + + public void setRemote(boolean remote) { + // TODO Auto-generated method stub + + } + + + public void setService(ComponentService service) { + // TODO Auto-generated method stub + + } + + + public void setURI(String uri) { + // TODO Auto-generated method stub + + } + +} -- cgit v1.2.3