diff options
Diffstat (limited to 'sandbox/rfeng/minicore/src/main/resources/org')
8 files changed, 413 insertions, 0 deletions
diff --git a/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/composite.scdl b/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/composite.scdl new file mode 100644 index 0000000000..8cdf0ac2a8 --- /dev/null +++ b/sandbox/rfeng/minicore/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/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/deployment.scdl b/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/deployment.scdl new file mode 100644 index 0000000000..804bd0bead --- /dev/null +++ b/sandbox/rfeng/minicore/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/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/formatters.scdl b/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/formatters.scdl new file mode 100644 index 0000000000..5d2c0db012 --- /dev/null +++ b/sandbox/rfeng/minicore/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/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/implementation.scdl b/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/implementation.scdl new file mode 100644 index 0000000000..c81115aafa --- /dev/null +++ b/sandbox/rfeng/minicore/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/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/interfaceJava.scdl b/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/interfaceJava.scdl new file mode 100644 index 0000000000..b0664dc67a --- /dev/null +++ b/sandbox/rfeng/minicore/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/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/javaImplementation.scdl b/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/javaImplementation.scdl new file mode 100644 index 0000000000..69110ec05c --- /dev/null +++ b/sandbox/rfeng/minicore/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/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/loader.scdl b/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/loader.scdl new file mode 100644 index 0000000000..b22f5d05f1 --- /dev/null +++ b/sandbox/rfeng/minicore/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/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/systemImplementation.scdl b/sandbox/rfeng/minicore/src/main/resources/org/apache/tuscany/core/systemImplementation.scdl new file mode 100644 index 0000000000..9a4178118f --- /dev/null +++ b/sandbox/rfeng/minicore/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> |