This is an automated email from the ASF dual-hosted git repository. alien11689 pushed a commit to branch add-missing-license-header-in-transaction-module in repository https://gitbox.apache.org/repos/asf/aries.git
commit 469355d47791298f0aca1e31f6817b49ce07c3b3 Author: Dominik Przybysz <[email protected]> AuthorDate: Sun Feb 9 20:24:07 2025 +0100 [MAINTENANCE] Add missing license header in transaction module --- .../org/apache/aries/transaction/ComponentTxData.java | 18 ++++++++++++++++++ .../transaction/TransactionalAnnotationAttributes.java | 18 ++++++++++++++++++ .../org/apache/aries/transaction/pojo/BaseClass.java | 18 ++++++++++++++++++ .../apache/aries/transaction/pojo/ExtendedPojo.java | 18 ++++++++++++++++++ .../apache/aries/transaction/pojo/ExtendedPojo2.java | 18 ++++++++++++++++++ .../apache/aries/transaction/pojo/ExtendedPojo3.java | 18 ++++++++++++++++++ .../apache/aries/transaction/pojo/OnRollbackPojo.java | 18 ++++++++++++++++++ .../aries/transaction/itests/RollbackOnTest.java | 18 ++++++++++++++++++ .../src/main/resources/META-INF/spring.handlers | 16 ++++++++++++++++ .../src/main/resources/META-INF/spring.schemas | 16 ++++++++++++++++ transaction/transaction-manager/internals.adoc | 18 ++++++++++++++++++ .../apache/aries/transaction/test/RollbackOnBean.java | 18 ++++++++++++++++++ .../transaction/test/impl/RollbackOnBeanImpl.java | 18 ++++++++++++++++++ 13 files changed, 230 insertions(+) diff --git a/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/ComponentTxData.java b/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/ComponentTxData.java index d7499bc99..af5102751 100644 --- a/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/ComponentTxData.java +++ b/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/ComponentTxData.java @@ -1,3 +1,21 @@ +/** + * 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. + */ package org.apache.aries.transaction; import java.lang.reflect.Method; diff --git a/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TransactionalAnnotationAttributes.java b/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TransactionalAnnotationAttributes.java index 002d2616a..83228fc91 100644 --- a/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TransactionalAnnotationAttributes.java +++ b/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TransactionalAnnotationAttributes.java @@ -1,3 +1,21 @@ +/** + * 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. + */ package org.apache.aries.transaction; import javax.transaction.Transactional.TxType; diff --git a/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/BaseClass.java b/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/BaseClass.java index 4088ff8b1..2d6debab7 100644 --- a/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/BaseClass.java +++ b/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/BaseClass.java @@ -1,3 +1,21 @@ +/** + * 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. + */ package org.apache.aries.transaction.pojo; import javax.transaction.Transactional; diff --git a/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo.java b/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo.java index b61c3bdfa..cad7e6716 100644 --- a/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo.java +++ b/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo.java @@ -1,3 +1,21 @@ +/** + * 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. + */ package org.apache.aries.transaction.pojo; import javax.transaction.Transactional; diff --git a/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo2.java b/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo2.java index ded82e36a..744b6f850 100644 --- a/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo2.java +++ b/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo2.java @@ -1,3 +1,21 @@ +/** + * 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. + */ package org.apache.aries.transaction.pojo; import javax.transaction.Transactional; diff --git a/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo3.java b/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo3.java index faa30f2a2..385235017 100644 --- a/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo3.java +++ b/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/ExtendedPojo3.java @@ -1,3 +1,21 @@ +/** + * 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. + */ package org.apache.aries.transaction.pojo; import javax.transaction.Transactional; diff --git a/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/OnRollbackPojo.java b/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/OnRollbackPojo.java index 904ce8cc2..f41bb678a 100644 --- a/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/OnRollbackPojo.java +++ b/transaction/transaction-blueprint/src/test/java/org/apache/aries/transaction/pojo/OnRollbackPojo.java @@ -1,3 +1,21 @@ +/** + * 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. + */ package org.apache.aries.transaction.pojo; import java.sql.BatchUpdateException; diff --git a/transaction/transaction-itests/src/test/java/org/apache/aries/transaction/itests/RollbackOnTest.java b/transaction/transaction-itests/src/test/java/org/apache/aries/transaction/itests/RollbackOnTest.java index 3418e8311..25212d796 100644 --- a/transaction/transaction-itests/src/test/java/org/apache/aries/transaction/itests/RollbackOnTest.java +++ b/transaction/transaction-itests/src/test/java/org/apache/aries/transaction/itests/RollbackOnTest.java @@ -1,3 +1,21 @@ +/** + * 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. + */ package org.apache.aries.transaction.itests; import org.apache.aries.transaction.test.RollbackOnBean; diff --git a/transaction/transaction-jdbc/src/main/resources/META-INF/spring.handlers b/transaction/transaction-jdbc/src/main/resources/META-INF/spring.handlers index ef5d186c0..bb7f86d73 100644 --- a/transaction/transaction-jdbc/src/main/resources/META-INF/spring.handlers +++ b/transaction/transaction-jdbc/src/main/resources/META-INF/spring.handlers @@ -1,3 +1,19 @@ +# 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. #Generated by xbean-spring #Tue Dec 17 16:21:03 EST 2013 http\://aries.apache.org/xmlns/transaction-jdbc/2.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler diff --git a/transaction/transaction-jdbc/src/main/resources/META-INF/spring.schemas b/transaction/transaction-jdbc/src/main/resources/META-INF/spring.schemas index 4f0aae2a7..3137198f9 100644 --- a/transaction/transaction-jdbc/src/main/resources/META-INF/spring.schemas +++ b/transaction/transaction-jdbc/src/main/resources/META-INF/spring.schemas @@ -1,3 +1,19 @@ +# 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. #Generated by xbean-spring #Tue Dec 17 16:21:03 EST 2013 http\://aries.apache.org/xmlns/transaction-jdbc/2.0/org.apache.aries.transaction.jdbc.xsd=org.apache.aries.transaction.jdbc.xsd diff --git a/transaction/transaction-manager/internals.adoc b/transaction/transaction-manager/internals.adoc index bafb7a6b8..da016deaa 100644 --- a/transaction/transaction-manager/internals.adoc +++ b/transaction/transaction-manager/internals.adoc @@ -1,3 +1,21 @@ +//// +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. +//// = Internals of Aries Transaction Manager :toc: :icons: font diff --git a/transaction/transaction-testbundle/src/main/java/org/apache/aries/transaction/test/RollbackOnBean.java b/transaction/transaction-testbundle/src/main/java/org/apache/aries/transaction/test/RollbackOnBean.java index b088a9c6e..dbbacf49a 100644 --- a/transaction/transaction-testbundle/src/main/java/org/apache/aries/transaction/test/RollbackOnBean.java +++ b/transaction/transaction-testbundle/src/main/java/org/apache/aries/transaction/test/RollbackOnBean.java @@ -1,3 +1,21 @@ +/** + * 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. + */ package org.apache.aries.transaction.test; import java.sql.SQLException; diff --git a/transaction/transaction-testbundle/src/main/java/org/apache/aries/transaction/test/impl/RollbackOnBeanImpl.java b/transaction/transaction-testbundle/src/main/java/org/apache/aries/transaction/test/impl/RollbackOnBeanImpl.java index 39d902562..89fcf416b 100644 --- a/transaction/transaction-testbundle/src/main/java/org/apache/aries/transaction/test/impl/RollbackOnBeanImpl.java +++ b/transaction/transaction-testbundle/src/main/java/org/apache/aries/transaction/test/impl/RollbackOnBeanImpl.java @@ -1,3 +1,21 @@ +/** + * 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. + */ package org.apache.aries.transaction.test.impl; import org.apache.aries.transaction.test.RollbackOnBean;
