summaryrefslogtreecommitdiffstats
path: root/sandbox/old/contrib/runtime-itest/plugin/src/main/resources/META-INF/tuscany/embeddedMaven.scdl
blob: 493952944cb4ad5cea33ad2e57573b417d33367e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?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>

    <!-- 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="interceptorBuilderRegistry">
        <system:implementation.system
            class="org.apache.tuscany.core.builder.interceptor.InterceptorBuilderRegistryImpl"/>
    </component>

    <component name="wireAttacherRegistry">
        <system:implementation.system
            class="org.apache.tuscany.core.builder.physical.WireAttacherRegistryImpl"/>
    </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.stateless">
        <system:implementation.system class="org.apache.tuscany.core.component.scope.StatelessScopeContainer"/>
    </component>
<!--
    <component name="scope.request">
        <system:implementation.system class="org.apache.tuscany.core.component.scope.RequestScopeContainer"/>
    </component>
-->
<!--
    <component name="scope.conversational">
        <system:implementation.system class="org.apache.tuscany.core.component.scope.ConversationalScopeContainer"/>
    </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>