001/* 002 * Copyright 2002-2018 the original author or authors. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * https://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017package org.springframework.transaction.config; 018 019/** 020 * Configuration constants for internal sharing across subpackages. 021 * 022 * @author Chris Beams 023 * @author Stephane Nicoll 024 * @since 3.1 025 */ 026public abstract class TransactionManagementConfigUtils { 027 028 /** 029 * The bean name of the internally managed transaction advisor (used when mode == PROXY). 030 */ 031 public static final String TRANSACTION_ADVISOR_BEAN_NAME = 032 "org.springframework.transaction.config.internalTransactionAdvisor"; 033 034 /** 035 * The bean name of the internally managed transaction aspect (used when mode == ASPECTJ). 036 */ 037 public static final String TRANSACTION_ASPECT_BEAN_NAME = 038 "org.springframework.transaction.config.internalTransactionAspect"; 039 040 /** 041 * The class name of the AspectJ transaction management aspect. 042 */ 043 public static final String TRANSACTION_ASPECT_CLASS_NAME = 044 "org.springframework.transaction.aspectj.AnnotationTransactionAspect"; 045 046 /** 047 * The name of the AspectJ transaction management @{@code Configuration} class. 048 */ 049 public static final String TRANSACTION_ASPECT_CONFIGURATION_CLASS_NAME = 050 "org.springframework.transaction.aspectj.AspectJTransactionManagementConfiguration"; 051 052 /** 053 * The bean name of the internally managed JTA transaction aspect (used when mode == ASPECTJ). 054 * @since 5.1 055 */ 056 public static final String JTA_TRANSACTION_ASPECT_BEAN_NAME = 057 "org.springframework.transaction.config.internalJtaTransactionAspect"; 058 059 /** 060 * The class name of the AspectJ transaction management aspect. 061 * @since 5.1 062 */ 063 public static final String JTA_TRANSACTION_ASPECT_CLASS_NAME = 064 "org.springframework.transaction.aspectj.JtaAnnotationTransactionAspect"; 065 066 /** 067 * The name of the AspectJ transaction management @{@code Configuration} class for JTA. 068 * @since 5.1 069 */ 070 public static final String JTA_TRANSACTION_ASPECT_CONFIGURATION_CLASS_NAME = 071 "org.springframework.transaction.aspectj.AspectJJtaTransactionManagementConfiguration"; 072 073 /** 074 * The bean name of the internally managed TransactionalEventListenerFactory. 075 */ 076 public static final String TRANSACTIONAL_EVENT_LISTENER_FACTORY_BEAN_NAME = 077 "org.springframework.transaction.config.internalTransactionalEventListenerFactory"; 078 079}