diff options
Diffstat (limited to 'tags/java/sca/runtime/2.0-alpha-incubating/itest/plugin/src/main/resources/META-INF/tuscany/embeddedMaven.scdl')
-rw-r--r-- | tags/java/sca/runtime/2.0-alpha-incubating/itest/plugin/src/main/resources/META-INF/tuscany/embeddedMaven.scdl | 169 |
1 files changed, 169 insertions, 0 deletions
diff --git a/tags/java/sca/runtime/2.0-alpha-incubating/itest/plugin/src/main/resources/META-INF/tuscany/embeddedMaven.scdl b/tags/java/sca/runtime/2.0-alpha-incubating/itest/plugin/src/main/resources/META-INF/tuscany/embeddedMaven.scdl new file mode 100644 index 0000000000..22943a1c4c --- /dev/null +++ b/tags/java/sca/runtime/2.0-alpha-incubating/itest/plugin/src/main/resources/META-INF/tuscany/embeddedMaven.scdl @@ -0,0 +1,169 @@ +<?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.sca.plugins.itest.EmbeddedMaven" + autowire="true"> + + <!-- Component that provides the Deployer service --> + <component name="deployer"> + <system:implementation.system class="org.apache.tuscany.core.deployer.DeployerImpl"/> + </component> + + <!-- Work management --> + <component name="workContext"> + <system:implementation.system class="org.apache.tuscany.core.component.WorkContextImpl"/> + </component> + + <!-- Wire service --> + <component name="proxyService"> + <system:implementation.system class="org.apache.tuscany.core.wire.jdk.JDKProxyService"/> + </component> + + <!-- Scope infrastructure --> + <component name="scopeRegistry"> + <system:implementation.system class="org.apache.tuscany.core.component.scope.ScopeRegistryImpl"/> + </component> + + <!-- Builder and BuilderRegistry --> + <component name="builder"> + <system:implementation.system class="org.apache.tuscany.core.builder.BuilderRegistryImpl"/> + </component> + + <!-- Loader and LoaderRegistry --> + <component name="loader"> + <system:implementation.system class="org.apache.tuscany.core.loader.LoaderRegistryImpl"/> + </component> + + <!-- Introspector and IntrospectionRegistry --> + <component name="interfaceProcessorRegistry"> + <system:implementation.system class="org.apache.tuscany.core.implementation.IntrospectionRegistryImpl"/> + </component> + + <!-- Connector infrastructure --> + <component name="connector"> + <system:implementation.system class="org.apache.tuscany.core.builder.ConnectorImpl"/> + </component> + + <component name="wirePostProcessorRegistry"> + <system:implementation.system class="org.apache.tuscany.core.builder.WirePostProcessorRegistryImpl"/> + </component> + + <!-- Resource host registry --> + <component name="resourceHostRegistry"> + <system:implementation.system class="org.apache.tuscany.core.services.host.DelegatingResourceHostRegistry"/> + </component> + + <!-- Default scopes --> + <component name="scope.module"> + <system:implementation.system class="org.apache.tuscany.core.component.scope.CompositeScopeObjectFactory"/> + </component> + <component name="scope.stateless"> + <system:implementation.system class="org.apache.tuscany.core.component.scope.StatelessScopeObjectFactory"/> + </component> + <component name="scope.request"> + <system:implementation.system class="org.apache.tuscany.core.component.scope.RequestScopeObjectFactory"/> + </component> + + <component name="scope.conversational"> + <system:implementation.system class="org.apache.tuscany.core.component.scope.ConversationalScopeObjectFactory"/> + </component> + + <!-- include loader configuration --> + <include name="org.apache.tuscany.core.Loader" scdlResource="org/apache/tuscany/core/loader.scdl"/> + + <!-- include databinding configuration --> + <include name="org.apache.tuscany.core.DataBinding" scdlResource="org/apache/tuscany/core/databinding.scdl"/> + + <!-- include implementation processor configuration --> + <include name="org.apache.tuscany.core.Implementation" scdlResource="org/apache/tuscany/core/implementation.scdl"/> + + <!-- Java interface definition language --> + <include name="org.apache.tuscany.core.InterfaceJava" scdlResource="org/apache/tuscany/core/interfaceJava.scdl"/> + + <!-- include composite implementation type --> + <include name="org.apache.tuscany.core.Composite" scdlResource="org/apache/tuscany/core/composite.scdl"/> + + <!-- include exception formatters --> + <include name="org.apache.tuscany.core.Formatters" scdlResource="org/apache/tuscany/core/formatters.scdl"/> + + <!-- System implementation type --> + <include name="org.apache.tuscany.core.SystemImplementation" + scdlResource="org/apache/tuscany/core/systemImplementation.scdl"/> + + <!-- Java implementation type --> + <include name="org.apache.tuscany.core.JavaImplementation" + scdlResource="org/apache/tuscany/core/javaImplementation.scdl"/> + + <!-- WorkScheduler service --> + <component name="workManager"> + <system:implementation.system + class="org.apache.tuscany.core.services.work.jsr237.workmanager.ThreadPoolWorkManager"/> + <property name="poolSize">10</property> + </component> + + <component name="workScheduler"> + <system:implementation.system class="org.apache.tuscany.core.services.work.jsr237.Jsr237WorkScheduler"/> + </component> + + <component name="policyBuilderRegistry"> + <system:implementation.system class="org.apache.tuscany.core.policy.PolicyBuilderRegistryImpl"/> + </component> + + <component name="propertyFactory"> + <system:implementation.system class="org.apache.tuscany.core.property.PropertyObjectFactoryImpl"/> + </component> + + <!-- Store infrastructure --> + <component name="store"> + <system:implementation.system class="org.apache.tuscany.core.services.store.memory.MemoryStore"/> + </component> + + <!-- the local binding --> + <component name="localBindingLoader"> + <system:implementation.system class="org.apache.tuscany.core.binding.local.LocalBindingLoader"/> + </component> + + <component name="localBindingBuilder"> + <system:implementation.system class="org.apache.tuscany.core.binding.local.LocalBindingBuilder"/> + </component> + + <component name="org.apache.tuscany.sca.plugin.itest.implementation.junit.ImplementationJUnitLoader"> + <system:implementation.system + class="org.apache.tuscany.sca.plugin.itest.implementation.junit.ImplementationJUnitLoader"/> + </component> + + <component name="org.apache.tuscany.sca.plugin.itest.implementation.junit.JUnitComponentTypeLoader"> + <system:implementation.system + class="org.apache.tuscany.sca.plugin.itest.implementation.junit.JUnitComponentTypeLoader"/> + </component> + + <component name="org.apache.tuscany.sca.plugin.itest.implementation.junit.JUnitComponentBuilder"> + <system:implementation.system + class="org.apache.tuscany.sca.plugin.itest.implementation.junit.JUnitComponentBuilder"/> + </component> + + +</composite> |