From 3c7c4a749baafcf375f4785a7668d3a25c9063e3 Mon Sep 17 00:00:00 2001 From: lresende Date: Fri, 13 Nov 2009 01:42:27 +0000 Subject: Moving 1.x trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835700 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/resources/accounts.composite | 43 ++++++++++ .../transaction/src/main/resources/definitions.xml | 99 ++++++++++++++++++++++ .../src/main/resources/log4j.properties | 29 +++++++ 3 files changed, 171 insertions(+) create mode 100644 sca-java-1.x/trunk/itest/transaction/src/main/resources/accounts.composite create mode 100644 sca-java-1.x/trunk/itest/transaction/src/main/resources/definitions.xml create mode 100644 sca-java-1.x/trunk/itest/transaction/src/main/resources/log4j.properties (limited to 'sca-java-1.x/trunk/itest/transaction/src/main/resources') diff --git a/sca-java-1.x/trunk/itest/transaction/src/main/resources/accounts.composite b/sca-java-1.x/trunk/itest/transaction/src/main/resources/accounts.composite new file mode 100644 index 0000000000..f4c6b650c7 --- /dev/null +++ b/sca-java-1.x/trunk/itest/transaction/src/main/resources/accounts.composite @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-1.x/trunk/itest/transaction/src/main/resources/definitions.xml b/sca-java-1.x/trunk/itest/transaction/src/main/resources/definitions.xml new file mode 100644 index 0000000000..8aa6ba313a --- /dev/null +++ b/sca-java-1.x/trunk/itest/transaction/src/main/resources/definitions.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Used to indicate the transaction environment desired by a component implementation. + + + + Used to indicate that a component implementation requires a managed global transaction. + + + + + Used to indicate that a component implementation requires a managed local transaction. + + + + + Used to indicate that a component implementation will manage its own transaction resources. + + + + + Used to indicate that a reference will propagate any client transaction or that a service will be dispatched + under any received transaction. + + + + + Used to indicate that a reference will not propagate any client transaction or that a service will not be + dispatched under any received transaction. + + + + + Used to indicate that the component requires the SCA runtime to transact OneWay send of messages as part of + any client global transaction or to transact oneWay message receipt as part of any service global + transaction. + + + + + Used to indicate that the component requires the SCA runtime to process the sending or receiving of OneWay + messages immediately, regardless of any transaction under which the sending/receiving component runs. + + + + \ No newline at end of file diff --git a/sca-java-1.x/trunk/itest/transaction/src/main/resources/log4j.properties b/sca-java-1.x/trunk/itest/transaction/src/main/resources/log4j.properties new file mode 100644 index 0000000000..698ee41d7e --- /dev/null +++ b/sca-java-1.x/trunk/itest/transaction/src/main/resources/log4j.properties @@ -0,0 +1,29 @@ +# 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. +# +# Set root logger level to DEBUG and its only appender to A1. +log4j.rootLogger=INFO, CONSOLE + +# CONSOLE is set to be a ConsoleAppender. +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender + +# A1 uses PatternLayout. +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout + + +# Print only messages of level WARN or above in the package com.foo. +log4j.logger.org.apache.tuscany=INFO \ No newline at end of file -- cgit v1.2.3