public class org.springframework.context.event.EventPublicationInterceptor implements org.aopalliance.intercept.MethodInterceptor, org.springframework.context.ApplicationEventPublisherAware, org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.context.event.EventPublicationInterceptor
super_class: java.lang.Object
{
private java.lang.reflect.Constructor<?> applicationEventClassConstructor;
descriptor: Ljava/lang/reflect/Constructor;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/reflect/Constructor<*>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.context.ApplicationEventPublisher applicationEventPublisher;
descriptor: Lorg/springframework/context/ApplicationEventPublisher;
flags: (0x0002) ACC_PRIVATE
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/context/event/EventPublicationInterceptor;
public void setApplicationEventClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: ldc Lorg/springframework/context/ApplicationEvent;
aload 1
if_acmpeq 2
1: ldc Lorg/springframework/context/ApplicationEvent;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "'applicationEventClass' needs to extend ApplicationEvent"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
putfield org.springframework.context.event.EventPublicationInterceptor.applicationEventClassConstructor:Ljava/lang/reflect/Constructor;
4: goto 9
5: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
astore 2
start local 2 6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "ApplicationEvent class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] does not have the required Object constructor: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/context/event/EventPublicationInterceptor;
0 10 1 applicationEventClass Ljava/lang/Class<*>;
6 9 2 ex Ljava/lang/NoSuchMethodException;
Exception table:
from to target type
3 4 5 Class java.lang.NoSuchMethodException
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
applicationEventClass
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher);
descriptor: (Lorg/springframework/context/ApplicationEventPublisher;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.context.event.EventPublicationInterceptor.applicationEventPublisher:Lorg/springframework/context/ApplicationEventPublisher;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/event/EventPublicationInterceptor;
0 2 1 applicationEventPublisher Lorg/springframework/context/ApplicationEventPublisher;
MethodParameters:
Name Flags
applicationEventPublisher
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.context.event.EventPublicationInterceptor.applicationEventClassConstructor:Ljava/lang/reflect/Constructor;
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Property 'applicationEventClass' is required"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/context/event/EventPublicationInterceptor;
Exceptions:
throws java.lang.Exception
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.proceed:()Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield org.springframework.context.event.EventPublicationInterceptor.applicationEventClassConstructor:Ljava/lang/reflect/Constructor;
ifnull 2
iconst_1
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "No ApplicationEvent class set"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
4: aload 0
getfield org.springframework.context.event.EventPublicationInterceptor.applicationEventClassConstructor:Ljava/lang/reflect/Constructor;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getThis:()Ljava/lang/Object;
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.context.ApplicationEvent
5: astore 3
start local 3 6: aload 0
getfield org.springframework.context.event.EventPublicationInterceptor.applicationEventPublisher:Lorg/springframework/context/ApplicationEventPublisher;
ifnull 7
iconst_1
goto 8
StackMap locals: org.springframework.context.ApplicationEvent
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: ldc "No ApplicationEventPublisher available"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
9: aload 0
getfield org.springframework.context.event.EventPublicationInterceptor.applicationEventPublisher:Lorg/springframework/context/ApplicationEventPublisher;
aload 3
invokeinterface org.springframework.context.ApplicationEventPublisher.publishEvent:(Lorg/springframework/context/ApplicationEvent;)V
10: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/context/event/EventPublicationInterceptor;
0 11 1 invocation Lorg/aopalliance/intercept/MethodInvocation;
1 11 2 retVal Ljava/lang/Object;
6 11 3 event Lorg/springframework/context/ApplicationEvent;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
invocation
}
SourceFile: "EventPublicationInterceptor.java"