diff options
Diffstat (limited to 'sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany')
9 files changed, 578 insertions, 0 deletions
diff --git a/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/composite.scdl b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/composite.scdl new file mode 100644 index 0000000000..8cdf0ac2a8 --- /dev/null +++ b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/composite.scdl @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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. +--> +<!-- + Default system configuration for the launcher environment. + + $Rev$ $Date$ +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:system="http://tuscany.apache.org/xmlns/sca/system/2.0-alpha" + name="org.apache.tuscany.core.Composite" + autowire="true"> + + <!-- Composite implementation type --> + <component name="composite.loader"> + <system:implementation.system class="org.apache.tuscany.core.implementation.composite.CompositeLoader"/> + </component> + <component name="composite.implementationLoader"> + <system:implementation.system + class="org.apache.tuscany.core.implementation.composite.ImplementationCompositeLoader"/> + </component> + <component name="composite.dependencyLoader"> + <system:implementation.system class="org.apache.tuscany.core.loader.DependencyLoader"/> + </component> + <component name="composite.componentTypeLoader"> + <system:implementation.system + class="org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader"/> + </component> + <component name="composite.builder"> + <system:implementation.system class="org.apache.tuscany.core.implementation.composite.CompositeBuilder"/> + </component> +</composite> diff --git a/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/databinding.scdl b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/databinding.scdl new file mode 100644 index 0000000000..c50422c34d --- /dev/null +++ b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/databinding.scdl @@ -0,0 +1,165 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * 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.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:system="http://tuscany.apache.org/xmlns/sca/system/2.0-alpha"
+ name="org.apache.tuscany.core.DataBinding"
+ autowire="true">
+
+ <component name="databinding.wirePostProcessor">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.impl.DataBindingWirePostProcessor"/>
+ </component>
+
+ <component name="databinding.javaInterfaceProcessor">
+ <system:implementation.system
+ class="org.apache.tuscany.core.databinding.impl.DataBindingJavaInterfaceProcessor"/>
+ </component>
+
+ <component name="databinding.passByValueWirePostProcessor">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.impl.PassByValueWirePostProcessor"/>
+ </component>
+
+ <!-- DataBinding registry -->
+ <component name="databinding.registry">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.impl.DataBindingRegistryImpl"/>
+ </component>
+
+ <!-- DataBinding registry -->
+ <component name="databinding.mediator">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.impl.MediatorImpl"/>
+ </component>
+
+ <!-- Transformer registry -->
+ <component name="databinding.transformerRegistry" initLevel="90">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.impl.TransformerRegistryImpl"/>
+ </component>
+
+ <component name="dataType.loader">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.impl.DataTypeLoader"/>
+ </component>
+
+ <!-- Simple databindings -->
+ <component name="databinding.dom">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.impl.SimpleDataBinding"/>
+ <property name="className">org.w3c.dom.Node</property>
+ </component>
+
+ <component name="databinding.javabeans">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.javabeans.JavaBeansDataBinding"/>
+ </component>
+
+ <!-- Transformers -->
+
+ <component name="transformer.Input2InputTransformer">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.impl.Input2InputTransformer"/>
+ </component>
+
+ <component name="transformer.Output2OutputTransformer">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.impl.Output2OutputTransformer"/>
+ </component>
+
+ <component name="transformer.InputSource2Node">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.InputSource2Node"/>
+ </component>
+
+ <component name="transformer.InputSource2SAX">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.InputSource2SAX"/>
+ </component>
+
+ <component name="transformer.InputStream2Node">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.InputStream2Node"/>
+ </component>
+
+ <component name="transformer.InputStream2SAX">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.InputStream2SAX"/>
+ </component>
+
+ <component name="transformer.DOMNode2JavaBean">
+ <system:implementation.system
+ class="org.apache.tuscany.core.databinding.javabeans.DOMNode2JavaBeanTransformer"/>
+ </component>
+
+ <component name="transformer.Node2OutputStream">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Node2OutputStream"/>
+ </component>
+
+ <component name="transformer.Node2String">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Node2String"/>
+ </component>
+
+ <component name="transformer.Node2Writer">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Node2Writer"/>
+ </component>
+
+ <component name="transformer.Node2XMLStreamReader">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Node2XMLStreamReader"/>
+ </component>
+
+ <component name="transformer.JavaBean2DOMNode">
+ <system:implementation.system
+ class="org.apache.tuscany.core.databinding.javabeans.JavaBean2DOMNodeTransformer"/>
+ </component>
+
+ <component name="transformer.Reader2Node">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Reader2Node"/>
+ </component>
+
+ <component name="transformer.Reader2SAX">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Reader2SAX"/>
+ </component>
+
+ <component name="transformer.SAX2DOMPipe">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.SAX2DOMPipe"/>
+ </component>
+
+ <component name="transformer.Source2ResultTransformer">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Source2ResultTransformer"/>
+ </component>
+
+ <component name="transformer.StreamDataPipe">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.StreamDataPipe"/>
+ </component>
+
+ <component name="transformer.String2Node">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.String2Node"/>
+ </component>
+
+ <component name="transformer.String2SAX">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.String2SAX"/>
+ </component>
+
+ <component name="transformer.String2XMLStreamReader">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.String2XMLStreamReader"/>
+ </component>
+
+ <component name="transformer.Writer2ReaderDataPipe">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Writer2ReaderDataPipe"/>
+ </component>
+
+ <component name="transformer.XMLStreamReader2Node">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.XMLStreamReader2Node"/>
+ </component>
+
+ <component name="transformer.XMLStreamReader2SAX">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.XMLStreamReader2SAX"/>
+ </component>
+
+ <component name="transformer.XMLStreamReader2String">
+ <system:implementation.system class="org.apache.tuscany.core.databinding.xml.XMLStreamReader2String"/>
+ </component>
+</composite>
\ No newline at end of file diff --git a/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/deployment.scdl b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/deployment.scdl new file mode 100644 index 0000000000..804bd0bead --- /dev/null +++ b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/deployment.scdl @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * 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.
+-->
+<!--
+ Deployment-related system components
+
+ $Rev$ $Date$
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:system="http://tuscany.apache.org/xmlns/sca/system/2.0-alpha"
+ name="org.apache.tuscany.core.Deployment"
+ autowire="true">
+
+ <!-- Contribution Service -->
+ <component name="contributionDirectoryWatcher" initLevel="100">
+ <system:implementation.system class="org.apache.tuscany.core.services.deployment.ContributionDirectoryWatcher"/>
+ <property name="path">target/deployables</property>
+ </component>
+ <component name="contributionService" initLevel="90">
+ <system:implementation.system class="org.apache.tuscany.core.services.deployment.ContributionServiceImpl"/>
+ </component>
+ <component name="contributionRepository" initLevel="40">
+ <system:implementation.system class="org.apache.tuscany.core.services.deployment.ContributionRepositoryImpl"/>
+ <property name="repository">target/repository</property>
+ </component>
+
+ <component name="contributionProcessorRegistry" initLevel="35">
+ <system:implementation.system
+ class="org.apache.tuscany.core.services.deployment.ContributionProcessorRegistryImpl"/>
+ </component>
+ <component name="contentTypeDescriber" initLevel="30">
+ <system:implementation.system class="org.apache.tuscany.core.services.deployment.ContentTypeDescriberImpl"/>
+ </component>
+ <component name="JarContributionProcessor" initLevel="30">
+ <system:implementation.system
+ class="org.apache.tuscany.core.services.deployment.contribution.JarContributionProcessor"/>
+ </component>
+ <component name="JavaContributionProcessor" initLevel="30">
+ <system:implementation.system
+ class="org.apache.tuscany.core.services.deployment.contribution.JavaContributionProcessor"/>
+ </component>
+ <component name="ScdlContributionProcessor" initLevel="30">
+ <system:implementation.system
+ class="org.apache.tuscany.core.services.deployment.contribution.ScdlContributionProcessor"/>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/formatters.scdl b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/formatters.scdl new file mode 100644 index 0000000000..5d2c0db012 --- /dev/null +++ b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/formatters.scdl @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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. +--> +<!-- + Formatter configurations for JDK logging. + + $Rev: 476250 $ $Date: 2006-11-17 10:56:22 -0800 (Fri, 17 Nov 2006) $ +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:system="http://tuscany.apache.org/xmlns/sca/system/2.0-alpha" + name="org.apache.tuscany.core.Formatters" + autowire="true"> + + <component name="LoaderExceptionFormatter"> + <system:implementation.system class="org.apache.tuscany.core.loader.LoaderExceptionFormatter"/> + </component> + + <component name="IncompatibleServiceContractExceptionFormatter"> + <system:implementation.system + class="org.apache.tuscany.core.wire.IncompatibleServiceContractExceptionFormatter"/> + </component> + + <component name="WireExceptionExceptionFormatter"> + <system:implementation.system + class="org.apache.tuscany.core.builder.WiringExceptionFormatter"/> + </component> + +</composite> diff --git a/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/implementation.scdl b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/implementation.scdl new file mode 100644 index 0000000000..c81115aafa --- /dev/null +++ b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/implementation.scdl @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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. +--> +<!-- + Default system configuration for the launcher environment. + + $Rev$ $Date$ +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:system="http://tuscany.apache.org/xmlns/sca/system/2.0-alpha" + name="org.apache.tuscany.core.Implementation" + autowire="true"> + + <!-- Foundation implementation processors --> + <component name="implementation.ImplementationProcessorService"> + <system:implementation.system + class="org.apache.tuscany.core.implementation.processor.ImplementationProcessorServiceImpl"/> + </component> + <component name="implementation.Constructor"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.ConstructorProcessor"/> + </component> + <component name="implementation.Destroy"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.DestroyProcessor"/> + </component> + <component name="implementation.Init"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.InitProcessor"/> + </component> + <component name="implementation.EagerInit"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.EagerInitProcessor"/> + </component> + <component name="implementation.Scope"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.ScopeProcessor"/> + </component> + <component name="implementation.AllowsPassByReference"> + <system:implementation.system + class="org.apache.tuscany.core.implementation.processor.AllowsPassByReferenceProcessor"/> + </component> + <component name="implementation.Property"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.PropertyProcessor"/> + </component> + <component name="implementation.Reference"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.ReferenceProcessor"/> + </component> + <component name="implementation.Service"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.ServiceProcessor"/> + </component> + <component name="implementation.HeuristicPojo"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.HeuristicPojoProcessor"/> + </component> + <component name="implementation.Monitor"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.MonitorProcessor"/> + </component> + <component name="implementation.Resource"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.ResourceProcessor"/> + </component> + <component name="implementation.Conversation"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.ConversationProcessor"/> + </component> + <component name="implementation.ContextProcessor"> + <system:implementation.system class="org.apache.tuscany.core.implementation.processor.ContextProcessor"/> + </component> + +</composite> diff --git a/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/interfaceJava.scdl b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/interfaceJava.scdl new file mode 100644 index 0000000000..b0664dc67a --- /dev/null +++ b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/interfaceJava.scdl @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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. +--> +<!-- + Configuration for Java IDL support. + + $Rev$ $Date$ +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:system="http://tuscany.apache.org/xmlns/sca/system/2.0-alpha" + name="org.apache.tuscany.core.InterfaceJava" + autowire="true"> + + <component name="interfaceJava.interfaceProcessorRegistry"> + <system:implementation.system class="org.apache.tuscany.core.idl.java.JavaInterfaceProcessorRegistryImpl"/> + </component> + <component name="interfaceJava.loader"> + <system:implementation.system class="org.apache.tuscany.core.idl.java.InterfaceJavaLoader"/> + </component> +</composite> diff --git a/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/javaImplementation.scdl b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/javaImplementation.scdl new file mode 100644 index 0000000000..69110ec05c --- /dev/null +++ b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/javaImplementation.scdl @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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. +--> +<!-- + Default system configuration for the launcher environment. + + $Rev$ $Date$ +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:system="http://tuscany.apache.org/xmlns/sca/system/2.0-alpha" + name="org.apache.tuscany.core.JavaImplementation" + autowire="true"> + + <!-- Java implementation type --> + <component name="java.implementationLoader"> + <system:implementation.system class="org.apache.tuscany.core.implementation.java.JavaImplementationLoader"/> + </component> + <component name="java.componentTypeLoader"> + <system:implementation.system class="org.apache.tuscany.core.implementation.java.JavaComponentTypeLoader"/> + </component> + <component name="java.componentBuilder"> + <system:implementation.system class="org.apache.tuscany.core.implementation.java.JavaComponentBuilder"/> + </component> +</composite> diff --git a/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/loader.scdl b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/loader.scdl new file mode 100644 index 0000000000..b22f5d05f1 --- /dev/null +++ b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/loader.scdl @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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. +--> +<!-- + Default loader configuration for the launcher environment. + + $Rev$ $Date$ +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:system="http://tuscany.apache.org/xmlns/sca/system/2.0-alpha" + name="org.apache.tuscany.core.Loader" + autowire="true"> + + <!-- Foundation element loader implementations --> + <component name="elementLoader.component"> + <system:implementation.system class="org.apache.tuscany.core.loader.ComponentLoader"/> + </component> + <component name="elementLoader.componentType"> + <system:implementation.system class="org.apache.tuscany.core.loader.ComponentTypeElementLoader"/> + </component> + <component name="elementLoader.include"> + <system:implementation.system class="org.apache.tuscany.core.loader.IncludeLoader"/> + </component> + <component name="elementLoader.property"> + <system:implementation.system class="org.apache.tuscany.core.loader.PropertyLoader"/> + </component> + <component name="elementLoader.reference"> + <system:implementation.system class="org.apache.tuscany.core.loader.ReferenceLoader"/> + </component> + <component name="elementLoader.service"> + <system:implementation.system class="org.apache.tuscany.core.loader.ServiceLoader"/> + </component> + <component name="elementLoader.wire"> + <system:implementation.system class="org.apache.tuscany.core.loader.WireLoader"/> + </component> + +</composite> diff --git a/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/systemImplementation.scdl b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/systemImplementation.scdl new file mode 100644 index 0000000000..9a4178118f --- /dev/null +++ b/sca-java-1.x/tags/kernel/2.0-alpha-incubating/core/src/main/resources/org/apache/tuscany/core/systemImplementation.scdl @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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. +--> +<!-- + Default system configuration for the launcher environment. + + $Rev$ $Date$ +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:system="http://tuscany.apache.org/xmlns/sca/system/2.0-alpha" + name="org.apache.tuscany.core.SystemImplementation" + autowire="true"> + + <!-- System implementation type --> + <component name="system.componentTypeLoader"> + <system:implementation.system + class="org.apache.tuscany.core.implementation.system.loader.SystemComponentTypeLoader"/> + </component> + + <component name="system.compositeComponentTypeLoader"> + <system:implementation.system + class="org.apache.tuscany.core.implementation.system.loader.SystemCompositeComponentTypeLoader"/> + </component> + <component name="system.implementationLoader"> + <system:implementation.system + class="org.apache.tuscany.core.implementation.system.loader.SystemImplementationLoader"/> + </component> + <component name="system.componentBuilder"> + <system:implementation.system + class="org.apache.tuscany.core.implementation.system.builder.SystemComponentBuilder"/> + </component> + <component name="system.compositeBuilder"> + <system:implementation.system class="org.apache.tuscany.core.implementation.composite.SystemCompositeBuilder"/> + </component> +</composite> |