public abstract class org.springframework.transaction.support.ResourceHolderSynchronization<H extends org.springframework.transaction.support.ResourceHolder, K> implements org.springframework.transaction.support.TransactionSynchronization
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.springframework.transaction.support.ResourceHolderSynchronization
  super_class: java.lang.Object
{
  private final H resourceHolder;
    descriptor: Lorg/springframework/transaction/support/ResourceHolder;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: TH;

  private final K resourceKey;
    descriptor: Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: TK;

  private volatile boolean holderActive;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  public void <init>(H, );
    descriptor: (Lorg/springframework/transaction/support/ResourceHolder;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
        start local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
        start local 2 // java.lang.Object resourceKey
         0: .line 44
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 35
            aload 0 /* this */
            iconst_1
            putfield org.springframework.transaction.support.ResourceHolderSynchronization.holderActive:Z
         2: .line 45
            aload 0 /* this */
            aload 1 /* resourceHolder */
            putfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceHolder:Lorg/springframework/transaction/support/ResourceHolder;
         3: .line 46
            aload 0 /* this */
            aload 2 /* resourceKey */
            putfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceKey:Ljava/lang/Object;
         4: .line 47
            return
        end local 2 // java.lang.Object resourceKey
        end local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    5     0            this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;
            0    5     1  resourceHolder  TH;
            0    5     2     resourceKey  TK;
    Signature: (TH;TK;)V
    MethodParameters:
                Name  Flags
      resourceHolder  
      resourceKey     

  public void suspend();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
         0: .line 52
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.holderActive:Z
            ifeq 2
         1: .line 53
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceKey:Ljava/lang/Object;
            invokestatic org.springframework.transaction.support.TransactionSynchronizationManager.unbindResource:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 55
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;

  public void resume();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
         0: .line 59
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.holderActive:Z
            ifeq 2
         1: .line 60
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceKey:Ljava/lang/Object;
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceHolder:Lorg/springframework/transaction/support/ResourceHolder;
            invokestatic org.springframework.transaction.support.TransactionSynchronizationManager.bindResource:(Ljava/lang/Object;Ljava/lang/Object;)V
         2: .line 62
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;

  public void flush();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
         0: .line 66
            aload 0 /* this */
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceHolder:Lorg/springframework/transaction/support/ResourceHolder;
            invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.flushResource:(Lorg/springframework/transaction/support/ResourceHolder;)V
         1: .line 67
            return
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;

  public void beforeCommit(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
        start local 1 // boolean readOnly
         0: .line 71
            return
        end local 1 // boolean readOnly
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;
            0    1     1  readOnly  Z
    MethodParameters:
          Name  Flags
      readOnly  

  public void beforeCompletion();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
         0: .line 75
            aload 0 /* this */
            invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.shouldUnbindAtCompletion:()Z
            ifeq 5
         1: .line 76
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceKey:Ljava/lang/Object;
            invokestatic org.springframework.transaction.support.TransactionSynchronizationManager.unbindResource:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 77
            aload 0 /* this */
            iconst_0
            putfield org.springframework.transaction.support.ResourceHolderSynchronization.holderActive:Z
         3: .line 78
            aload 0 /* this */
            invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.shouldReleaseBeforeCompletion:()Z
            ifeq 5
         4: .line 79
            aload 0 /* this */
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceHolder:Lorg/springframework/transaction/support/ResourceHolder;
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceKey:Ljava/lang/Object;
            invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.releaseResource:(Lorg/springframework/transaction/support/ResourceHolder;Ljava/lang/Object;)V
         5: .line 82
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;

  public void afterCommit();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
         0: .line 86
            aload 0 /* this */
            invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.shouldReleaseBeforeCompletion:()Z
            ifne 2
         1: .line 87
            aload 0 /* this */
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceHolder:Lorg/springframework/transaction/support/ResourceHolder;
            invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.processResourceAfterCommit:(Lorg/springframework/transaction/support/ResourceHolder;)V
         2: .line 89
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;

  public void afterCompletion(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
        start local 1 // int status
         0: .line 93
            aload 0 /* this */
            invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.shouldUnbindAtCompletion:()Z
            ifeq 12
         1: .line 94
            iconst_0
            istore 2 /* releaseNecessary */
        start local 2 // boolean releaseNecessary
         2: .line 95
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.holderActive:Z
            ifeq 8
         3: .line 98
            aload 0 /* this */
            iconst_0
            putfield org.springframework.transaction.support.ResourceHolderSynchronization.holderActive:Z
         4: .line 99
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceKey:Ljava/lang/Object;
            invokestatic org.springframework.transaction.support.TransactionSynchronizationManager.unbindResourceIfPossible:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 100
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceHolder:Lorg/springframework/transaction/support/ResourceHolder;
            invokeinterface org.springframework.transaction.support.ResourceHolder.unbound:()V
         6: .line 101
            iconst_1
            istore 2 /* releaseNecessary */
         7: .line 102
            goto 9
         8: .line 104
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceHolder:Lorg/springframework/transaction/support/ResourceHolder;
            invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.shouldReleaseAfterCompletion:(Lorg/springframework/transaction/support/ResourceHolder;)Z
            istore 2 /* releaseNecessary */
         9: .line 106
      StackMap locals:
      StackMap stack:
            iload 2 /* releaseNecessary */
            ifeq 15
        10: .line 107
            aload 0 /* this */
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceHolder:Lorg/springframework/transaction/support/ResourceHolder;
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceKey:Ljava/lang/Object;
            invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.releaseResource:(Lorg/springframework/transaction/support/ResourceHolder;Ljava/lang/Object;)V
        end local 2 // boolean releaseNecessary
        11: .line 109
            goto 15
        12: .line 112
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceHolder:Lorg/springframework/transaction/support/ResourceHolder;
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceKey:Ljava/lang/Object;
            iload 1 /* status */
            ifne 13
            iconst_1
            goto 14
      StackMap locals: org.springframework.transaction.support.ResourceHolderSynchronization int
      StackMap stack: org.springframework.transaction.support.ResourceHolderSynchronization org.springframework.transaction.support.ResourceHolder java.lang.Object
        13: iconst_0
      StackMap locals: org.springframework.transaction.support.ResourceHolderSynchronization int
      StackMap stack: org.springframework.transaction.support.ResourceHolderSynchronization org.springframework.transaction.support.ResourceHolder java.lang.Object int
        14: invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.cleanupResource:(Lorg/springframework/transaction/support/ResourceHolder;Ljava/lang/Object;Z)V
        15: .line 114
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.springframework.transaction.support.ResourceHolderSynchronization.resourceHolder:Lorg/springframework/transaction/support/ResourceHolder;
            invokeinterface org.springframework.transaction.support.ResourceHolder.reset:()V
        16: .line 115
            return
        end local 1 // int status
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   17     0              this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;
            0   17     1            status  I
            2   11     2  releaseNecessary  Z
    MethodParameters:
        Name  Flags
      status  

  protected boolean shouldUnbindAtCompletion();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
         0: .line 124
            iconst_1
            ireturn
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;

  protected boolean shouldReleaseBeforeCompletion();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
         0: .line 137
            iconst_1
            ireturn
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;

  protected boolean shouldReleaseAfterCompletion();
    descriptor: (Lorg/springframework/transaction/support/ResourceHolder;)Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
        start local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
         0: .line 148
            aload 0 /* this */
            invokevirtual org.springframework.transaction.support.ResourceHolderSynchronization.shouldReleaseBeforeCompletion:()Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0            this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;
            0    3     1  resourceHolder  TH;
    Signature: (TH;)Z
    MethodParameters:
                Name  Flags
      resourceHolder  

  protected void flushResource();
    descriptor: (Lorg/springframework/transaction/support/ResourceHolder;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
        start local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
         0: .line 156
            return
        end local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0            this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;
            0    1     1  resourceHolder  TH;
    Signature: (TH;)V
    MethodParameters:
                Name  Flags
      resourceHolder  

  protected void processResourceAfterCommit();
    descriptor: (Lorg/springframework/transaction/support/ResourceHolder;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
        start local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
         0: .line 165
            return
        end local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0            this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;
            0    1     1  resourceHolder  TH;
    Signature: (TH;)V
    MethodParameters:
                Name  Flags
      resourceHolder  

  protected void releaseResource(H, );
    descriptor: (Lorg/springframework/transaction/support/ResourceHolder;Ljava/lang/Object;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=0, locals=3, args_size=3
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
        start local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
        start local 2 // java.lang.Object resourceKey
         0: .line 173
            return
        end local 2 // java.lang.Object resourceKey
        end local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0            this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;
            0    1     1  resourceHolder  TH;
            0    1     2     resourceKey  TK;
    Signature: (TH;TK;)V
    MethodParameters:
                Name  Flags
      resourceHolder  
      resourceKey     

  protected void cleanupResource(H, K, );
    descriptor: (Lorg/springframework/transaction/support/ResourceHolder;Ljava/lang/Object;Z)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=0, locals=4, args_size=4
        start local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
        start local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
        start local 2 // java.lang.Object resourceKey
        start local 3 // boolean committed
         0: .line 183
            return
        end local 3 // boolean committed
        end local 2 // java.lang.Object resourceKey
        end local 1 // org.springframework.transaction.support.ResourceHolder resourceHolder
        end local 0 // org.springframework.transaction.support.ResourceHolderSynchronization this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0            this  Lorg/springframework/transaction/support/ResourceHolderSynchronization<TH;TK;>;
            0    1     1  resourceHolder  TH;
            0    1     2     resourceKey  TK;
            0    1     3       committed  Z
    Signature: (TH;TK;Z)V
    MethodParameters:
                Name  Flags
      resourceHolder  
      resourceKey     
      committed       
}
Signature: <H::Lorg/springframework/transaction/support/ResourceHolder;K:Ljava/lang/Object;>Ljava/lang/Object;Lorg/springframework/transaction/support/TransactionSynchronization;
SourceFile: "ResourceHolderSynchronization.java"