public class org.springframework.jca.endpoint.GenericMessageEndpointManager implements org.springframework.context.SmartLifecycle, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.jca.endpoint.GenericMessageEndpointManager
super_class: java.lang.Object
{
private javax.resource.spi.ResourceAdapter resourceAdapter;
descriptor: Ljavax/resource/spi/ResourceAdapter;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory;
descriptor: Ljavax/resource/spi/endpoint/MessageEndpointFactory;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private javax.resource.spi.ActivationSpec activationSpec;
descriptor: Ljavax/resource/spi/ActivationSpec;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean autoStartup;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int phase;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile boolean running;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.lang.Object lifecycleMonitor;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.springframework.jca.endpoint.GenericMessageEndpointManager.autoStartup:Z
2: aload 0
ldc 2147483647
putfield org.springframework.jca.endpoint.GenericMessageEndpointManager.phase:I
3: aload 0
iconst_0
putfield org.springframework.jca.endpoint.GenericMessageEndpointManager.running:Z
4: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.springframework.jca.endpoint.GenericMessageEndpointManager.lifecycleMonitor:Ljava/lang/Object;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
public void setResourceAdapter(javax.resource.spi.ResourceAdapter);
descriptor: (Ljavax/resource/spi/ResourceAdapter;)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.jca.endpoint.GenericMessageEndpointManager.resourceAdapter:Ljavax/resource/spi/ResourceAdapter;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
0 2 1 resourceAdapter Ljavax/resource/spi/ResourceAdapter;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
resourceAdapter
public javax.resource.spi.ResourceAdapter getResourceAdapter();
descriptor: ()Ljavax/resource/spi/ResourceAdapter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.resourceAdapter:Ljavax/resource/spi/ResourceAdapter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setMessageEndpointFactory(javax.resource.spi.endpoint.MessageEndpointFactory);
descriptor: (Ljavax/resource/spi/endpoint/MessageEndpointFactory;)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.jca.endpoint.GenericMessageEndpointManager.messageEndpointFactory:Ljavax/resource/spi/endpoint/MessageEndpointFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
0 2 1 messageEndpointFactory Ljavax/resource/spi/endpoint/MessageEndpointFactory;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
messageEndpointFactory
public javax.resource.spi.endpoint.MessageEndpointFactory getMessageEndpointFactory();
descriptor: ()Ljavax/resource/spi/endpoint/MessageEndpointFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.messageEndpointFactory:Ljavax/resource/spi/endpoint/MessageEndpointFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setActivationSpec(javax.resource.spi.ActivationSpec);
descriptor: (Ljavax/resource/spi/ActivationSpec;)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.jca.endpoint.GenericMessageEndpointManager.activationSpec:Ljavax/resource/spi/ActivationSpec;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
0 2 1 activationSpec Ljavax/resource/spi/ActivationSpec;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
activationSpec
public javax.resource.spi.ActivationSpec getActivationSpec();
descriptor: ()Ljavax/resource/spi/ActivationSpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.activationSpec:Ljavax/resource/spi/ActivationSpec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setAutoStartup(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.jca.endpoint.GenericMessageEndpointManager.autoStartup:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
0 2 1 autoStartup Z
MethodParameters:
Name Flags
autoStartup
public boolean isAutoStartup();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.autoStartup:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
public void setPhase(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.jca.endpoint.GenericMessageEndpointManager.phase:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
0 2 1 phase I
MethodParameters:
Name Flags
phase
public int getPhase();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.phase:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getResourceAdapter:()Ljavax/resource/spi/ResourceAdapter;
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Property 'resourceAdapter' is required"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getMessageEndpointFactory:()Ljavax/resource/spi/endpoint/MessageEndpointFactory;
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "Property 'messageEndpointFactory' is required"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getActivationSpec:()Ljavax/resource/spi/ActivationSpec;
astore 1
start local 1 5: aload 1
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
ldc "Property 'activationSpec' is required"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: javax.resource.spi.ActivationSpec
StackMap stack:
aload 1
invokeinterface javax.resource.spi.ActivationSpec.getResourceAdapter:()Ljavax/resource/spi/ResourceAdapter;
ifnonnull 10
8: aload 1
aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getResourceAdapter:()Ljavax/resource/spi/ResourceAdapter;
invokeinterface javax.resource.spi.ActivationSpec.setResourceAdapter:(Ljavax/resource/spi/ResourceAdapter;)V
9: goto 14
10: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.resource.spi.ActivationSpec.getResourceAdapter:()Ljavax/resource/spi/ResourceAdapter;
aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getResourceAdapter:()Ljavax/resource/spi/ResourceAdapter;
if_acmpeq 14
11: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "ActivationSpec ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
12: ldc "] is associated with a different ResourceAdapter: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokeinterface javax.resource.spi.ActivationSpec.getResourceAdapter:()Ljavax/resource/spi/ResourceAdapter;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
5 15 1 activationSpec Ljavax/resource/spi/ActivationSpec;
Exceptions:
throws javax.resource.ResourceException
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.lifecycleMonitor:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.running:Z
ifne 11
2: aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getResourceAdapter:()Ljavax/resource/spi/ResourceAdapter;
astore 2
start local 2 3: aload 2
ifnull 4
iconst_1
goto 5
StackMap locals: java.lang.Object javax.resource.spi.ResourceAdapter
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "No ResourceAdapter set"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
6: aload 2
aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getMessageEndpointFactory:()Ljavax/resource/spi/endpoint/MessageEndpointFactory;
aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getActivationSpec:()Ljavax/resource/spi/ActivationSpec;
invokeinterface javax.resource.spi.ResourceAdapter.endpointActivation:(Ljavax/resource/spi/endpoint/MessageEndpointFactory;Ljavax/resource/spi/ActivationSpec;)V
7: goto 10
8: StackMap locals:
StackMap stack: javax.resource.ResourceException
astore 3
start local 3 9: new java.lang.IllegalStateException
dup
ldc "Could not activate message endpoint"
aload 3
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.springframework.jca.endpoint.GenericMessageEndpointManager.running:Z
end local 2 11: StackMap locals:
StackMap stack:
aload 1
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 1
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
3 11 2 resourceAdapter Ljavax/resource/spi/ResourceAdapter;
9 10 3 ex Ljavax/resource/ResourceException;
Exception table:
from to target type
6 7 8 Class javax.resource.ResourceException
1 12 13 any
13 14 13 any
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.lifecycleMonitor:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.running:Z
ifeq 8
2: aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getResourceAdapter:()Ljavax/resource/spi/ResourceAdapter;
astore 2
start local 2 3: aload 2
ifnull 4
iconst_1
goto 5
StackMap locals: java.lang.Object javax.resource.spi.ResourceAdapter
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "No ResourceAdapter set"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
6: aload 2
aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getMessageEndpointFactory:()Ljavax/resource/spi/endpoint/MessageEndpointFactory;
aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.getActivationSpec:()Ljavax/resource/spi/ActivationSpec;
invokeinterface javax.resource.spi.ResourceAdapter.endpointDeactivation:(Ljavax/resource/spi/endpoint/MessageEndpointFactory;Ljavax/resource/spi/ActivationSpec;)V
7: aload 0
iconst_0
putfield org.springframework.jca.endpoint.GenericMessageEndpointManager.running:Z
end local 2 8: StackMap locals:
StackMap stack:
aload 1
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 1
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
3 8 2 resourceAdapter Ljavax/resource/spi/ResourceAdapter;
Exception table:
from to target type
1 9 10 any
10 11 10 any
public void stop(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.lifecycleMonitor:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.stop:()V
2: aload 1
invokeinterface java.lang.Runnable.run:()V
3: aload 2
monitorexit
4: goto 7
StackMap locals: org.springframework.jca.endpoint.GenericMessageEndpointManager java.lang.Runnable java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: 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/jca/endpoint/GenericMessageEndpointManager;
0 8 1 callback Ljava/lang/Runnable;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
callback
public boolean isRunning();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.GenericMessageEndpointManager.running:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.jca.endpoint.GenericMessageEndpointManager.stop:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/endpoint/GenericMessageEndpointManager;
}
SourceFile: "GenericMessageEndpointManager.java"