public abstract class org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint implements javax.resource.spi.endpoint.MessageEndpoint
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint
super_class: java.lang.Object
{
private org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate transactionDelegate;
descriptor: Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean beforeDeliveryCalled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.ClassLoader previousContextClassLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
final org.springframework.jca.endpoint.AbstractMessageEndpointFactory this$0;
descriptor: Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(org.springframework.jca.endpoint.AbstractMessageEndpointFactory);
descriptor: (Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.this$0:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.beforeDeliveryCalled:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$AbstractMessageEndpoint;
MethodParameters:
Name Flags
this$0 final
void initXAResource(javax.transaction.xa.XAResource);
descriptor: (Ljavax/transaction/xa/XAResource;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate
dup
aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.this$0:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
aload 1
invokespecial org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.<init>:(Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;Ljavax/transaction/xa/XAResource;)V
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.transactionDelegate:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$AbstractMessageEndpoint;
0 2 1 xaResource Ljavax/transaction/xa/XAResource;
MethodParameters:
Name Flags
xaResource
public void beforeDelivery(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.beforeDeliveryCalled:Z
1: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.transactionDelegate:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
ifnull 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "Not initialized"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
4: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.transactionDelegate:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
invokevirtual org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.beginTransaction:()V
5: goto 8
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 7: new javax.resource.spi.ApplicationServerInternalException
dup
ldc "Failed to begin transaction"
aload 2
invokespecial javax.resource.spi.ApplicationServerInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 8: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 2
start local 2 9: aload 0
aload 2
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.previousContextClassLoader:Ljava/lang/ClassLoader;
10: aload 2
aload 0
invokevirtual org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.getEndpointClassLoader:()Ljava/lang/ClassLoader;
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$AbstractMessageEndpoint;
0 12 1 method Ljava/lang/reflect/Method;
7 8 2 ex Ljava/lang/Throwable;
9 12 2 currentThread Ljava/lang/Thread;
Exception table:
from to target type
4 5 6 Class java.lang.Throwable
Exceptions:
throws javax.resource.ResourceException
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
method
protected abstract java.lang.ClassLoader getEndpointClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected final boolean hasBeforeDeliveryBeenCalled();
descriptor: ()Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.beforeDeliveryCalled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$AbstractMessageEndpoint;
protected void onEndpointException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.transactionDelegate:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Not initialized"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.transactionDelegate:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
invokevirtual org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.setRollbackOnly:()V
4: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.this$0:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory.logger:Lorg/apache/commons/logging/Log;
ldc "Transaction marked as rollback-only after endpoint exception"
aload 1
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$AbstractMessageEndpoint;
0 6 1 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
ex
public void afterDelivery();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.transactionDelegate:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Not initialized"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
iconst_0
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.beforeDeliveryCalled:Z
4: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.previousContextClassLoader:Ljava/lang/ClassLoader;
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
5: aload 0
aconst_null
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.previousContextClassLoader:Ljava/lang/ClassLoader;
6: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.transactionDelegate:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
invokevirtual org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.endTransaction:()V
7: goto 11
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 9: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.this$0:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory.logger:Lorg/apache/commons/logging/Log;
ldc "Failed to complete transaction after endpoint delivery"
aload 1
invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
10: new javax.resource.spi.ApplicationServerInternalException
dup
ldc "Failed to complete transaction"
aload 1
invokespecial javax.resource.spi.ApplicationServerInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$AbstractMessageEndpoint;
9 11 1 ex Ljava/lang/Throwable;
Exception table:
from to target type
6 7 8 Class java.lang.Throwable
Exceptions:
throws javax.resource.ResourceException
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.transactionDelegate:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
ifnull 6
1: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.transactionDelegate:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
invokevirtual org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.setRollbackOnly:()V
2: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.transactionDelegate:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
invokevirtual org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.endTransaction:()V
3: goto 6
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 5: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint.this$0:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory.logger:Lorg/apache/commons/logging/Log;
ldc "Could not complete unfinished transaction on endpoint release"
aload 1
invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$AbstractMessageEndpoint;
5 6 1 ex Ljava/lang/Throwable;
Exception table:
from to target type
1 3 4 Class java.lang.Throwable
}
SourceFile: "AbstractMessageEndpointFactory.java"
NestHost: org.springframework.jca.endpoint.AbstractMessageEndpointFactory
InnerClasses:
protected abstract AbstractMessageEndpoint = org.springframework.jca.endpoint.AbstractMessageEndpointFactory$AbstractMessageEndpoint of org.springframework.jca.endpoint.AbstractMessageEndpointFactory
private TransactionDelegate = org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate of org.springframework.jca.endpoint.AbstractMessageEndpointFactory