public abstract class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration implements org.springframework.context.annotation.ImportAware
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
super_class: java.lang.Object
{
protected org.springframework.core.annotation.AnnotationAttributes enableTx;
descriptor: Lorg/springframework/core/annotation/AnnotationAttributes;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
protected org.springframework.transaction.PlatformTransactionManager txManager;
descriptor: Lorg/springframework/transaction/PlatformTransactionManager;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/annotation/AbstractTransactionManagementConfiguration;
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata);
descriptor: (Lorg/springframework/core/type/AnnotationMetadata;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
ldc Lorg/springframework/transaction/annotation/EnableTransactionManagement;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
iconst_0
invokeinterface org.springframework.core.type.AnnotationMetadata.getAnnotationAttributes:(Ljava/lang/String;Z)Ljava/util/Map;
2: invokestatic org.springframework.core.annotation.AnnotationAttributes.fromMap:(Ljava/util/Map;)Lorg/springframework/core/annotation/AnnotationAttributes;
putfield org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration.enableTx:Lorg/springframework/core/annotation/AnnotationAttributes;
3: aload 0
getfield org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration.enableTx:Lorg/springframework/core/annotation/AnnotationAttributes;
ifnonnull 7
4: new java.lang.IllegalArgumentException
dup
5: new java.lang.StringBuilder
dup
ldc "@EnableTransactionManagement is not present on importing class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.springframework.core.type.AnnotationMetadata.getClassName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/transaction/annotation/AbstractTransactionManagementConfiguration;
0 8 1 importMetadata Lorg/springframework/core/type/AnnotationMetadata;
MethodParameters:
Name Flags
importMetadata
void setConfigurers(java.util.Collection<org.springframework.transaction.annotation.TransactionManagementConfigurer>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmple 4
3: new java.lang.IllegalStateException
dup
ldc "Only one TransactionManagementConfigurer may exist"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.transaction.annotation.TransactionManagementConfigurer
astore 2
start local 2 5: aload 0
aload 2
invokeinterface org.springframework.transaction.annotation.TransactionManagementConfigurer.annotationDrivenTransactionManager:()Lorg/springframework/transaction/PlatformTransactionManager;
putfield org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration.txManager:Lorg/springframework/transaction/PlatformTransactionManager;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/transaction/annotation/AbstractTransactionManagementConfiguration;
0 7 1 configurers Ljava/util/Collection<Lorg/springframework/transaction/annotation/TransactionManagementConfigurer;>;
5 7 2 configurer Lorg/springframework/transaction/annotation/TransactionManagementConfigurer;
Signature: (Ljava/util/Collection<Lorg/springframework/transaction/annotation/TransactionManagementConfigurer;>;)V
RuntimeVisibleAnnotations:
org.springframework.beans.factory.annotation.Autowired(required = false)
MethodParameters:
Name Flags
configurers
public static org.springframework.transaction.event.TransactionalEventListenerFactory transactionalEventListenerFactory();
descriptor: ()Lorg/springframework/transaction/event/TransactionalEventListenerFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.springframework.transaction.event.TransactionalEventListenerFactory
dup
invokespecial org.springframework.transaction.event.TransactionalEventListenerFactory.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Bean(name = {"org.springframework.transaction.config.internalTransactionalEventListenerFactory"})
org.springframework.context.annotation.Role(value = 2)
}
SourceFile: "AbstractTransactionManagementConfiguration.java"
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Configuration()