public abstract class org.hibernate.service.internal.AbstractServiceRegistryImpl implements org.hibernate.service.spi.ServiceRegistryImplementor, org.hibernate.service.spi.ServiceBinding$ServiceLifecycleOwner
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.hibernate.service.internal.AbstractServiceRegistryImpl
  super_class: java.lang.Object
{
  private static final org.hibernate.internal.CoreMessageLogger log;
    descriptor: Lorg/hibernate/internal/CoreMessageLogger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  public static final java.lang.String ALLOW_CRAWLING;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "hibernate.service.allow_crawling"

  private final org.hibernate.service.spi.ServiceRegistryImplementor parent;
    descriptor: Lorg/hibernate/service/spi/ServiceRegistryImplementor;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final boolean allowCrawling;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.ConcurrentMap<java.lang.Class, org.hibernate.service.spi.ServiceBinding> serviceBindingMap;
    descriptor: Ljava/util/concurrent/ConcurrentMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class;Lorg/hibernate/service/spi/ServiceBinding;>;

  private final java.util.concurrent.ConcurrentMap<java.lang.Class, java.lang.Class> roleXref;
    descriptor: Ljava/util/concurrent/ConcurrentMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class;Ljava/lang/Class;>;

  private final java.util.concurrent.ConcurrentMap<java.lang.Class, org.hibernate.service.Service> initializedServiceByRole;
    descriptor: Ljava/util/concurrent/ConcurrentMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class;Lorg/hibernate/service/Service;>;

  private final java.util.List<org.hibernate.service.spi.ServiceBinding> serviceBindingList;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Lorg/hibernate/service/spi/ServiceBinding;>;

  private boolean autoCloseRegistry;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.util.Set<org.hibernate.service.spi.ServiceRegistryImplementor> childRegistries;
    descriptor: Ljava/util/Set;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Set<Lorg/hibernate/service/spi/ServiceRegistryImplementor;>;

  private final java.util.concurrent.atomic.AtomicBoolean active;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 48
            ldc Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            invokestatic org.hibernate.internal.CoreLogging.messageLogger:(Ljava/lang/Class;)Lorg/hibernate/internal/CoreMessageLogger;
            putstatic org.hibernate.service.internal.AbstractServiceRegistryImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
         1: .line 50
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  protected void <init>();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
         0: .line 76
            aload 0 /* this */
            aconst_null
            invokespecial org.hibernate.service.internal.AbstractServiceRegistryImpl.<init>:(Lorg/hibernate/service/spi/ServiceRegistryImplementor;)V
         1: .line 77
            return
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;

  protected void <init>(boolean);
    descriptor: (Z)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // boolean autoCloseRegistry
         0: .line 81
            aload 0 /* this */
            aconst_null
            iload 1 /* autoCloseRegistry */
            invokespecial org.hibernate.service.internal.AbstractServiceRegistryImpl.<init>:(Lorg/hibernate/service/spi/ServiceRegistryImplementor;Z)V
         1: .line 82
            return
        end local 1 // boolean autoCloseRegistry
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    2     0               this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    2     1  autoCloseRegistry  Z
    MethodParameters:
                   Name  Flags
      autoCloseRegistry  

  protected void <init>(org.hibernate.service.spi.ServiceRegistryImplementor);
    descriptor: (Lorg/hibernate/service/spi/ServiceRegistryImplementor;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceRegistryImplementor parent
         0: .line 85
            aload 0 /* this */
            aload 1 /* parent */
            iconst_1
            invokespecial org.hibernate.service.internal.AbstractServiceRegistryImpl.<init>:(Lorg/hibernate/service/spi/ServiceRegistryImplementor;Z)V
         1: .line 86
            return
        end local 1 // org.hibernate.service.spi.ServiceRegistryImplementor parent
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    2     1  parent  Lorg/hibernate/service/spi/ServiceRegistryImplementor;
    MethodParameters:
        Name  Flags
      parent  

  protected void <init>(org.hibernate.service.spi.ServiceRegistryImplementor, boolean);
    descriptor: (Lorg/hibernate/service/spi/ServiceRegistryImplementor;Z)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceRegistryImplementor parent
        start local 2 // boolean autoCloseRegistry
         0: .line 88
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 55
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingMap:Ljava/util/concurrent/ConcurrentMap;
         2: .line 56
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.roleXref:Ljava/util/concurrent/ConcurrentMap;
         3: .line 59
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.initializedServiceByRole:Ljava/util/concurrent/ConcurrentMap;
         4: .line 65
            aload 0 /* this */
            bipush 20
            invokestatic org.hibernate.internal.util.collections.CollectionHelper.arrayList:(I)Ljava/util/ArrayList;
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingList:Ljava/util/List;
         5: .line 72
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            iconst_1
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.active:Ljava/util/concurrent/atomic/AtomicBoolean;
         6: .line 91
            aload 0 /* this */
            aload 1 /* parent */
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.parent:Lorg/hibernate/service/spi/ServiceRegistryImplementor;
         7: .line 92
            aload 0 /* this */
            ldc "hibernate.service.allow_crawling"
            invokestatic org.hibernate.cfg.Environment.getProperties:()Ljava/util/Properties;
            iconst_1
            invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getBoolean:(Ljava/lang/String;Ljava/util/Map;Z)Z
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.allowCrawling:Z
         8: .line 94
            aload 0 /* this */
            iload 2 /* autoCloseRegistry */
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.autoCloseRegistry:Z
         9: .line 95
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.parent:Lorg/hibernate/service/spi/ServiceRegistryImplementor;
            aload 0 /* this */
            invokeinterface org.hibernate.service.spi.ServiceRegistryImplementor.registerChild:(Lorg/hibernate/service/spi/ServiceRegistryImplementor;)V
        10: .line 96
            return
        end local 2 // boolean autoCloseRegistry
        end local 1 // org.hibernate.service.spi.ServiceRegistryImplementor parent
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   11     0               this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0   11     1             parent  Lorg/hibernate/service/spi/ServiceRegistryImplementor;
            0   11     2  autoCloseRegistry  Z
    MethodParameters:
                   Name  Flags
      parent             
      autoCloseRegistry  

  public void <init>(org.hibernate.boot.registry.BootstrapServiceRegistry);
    descriptor: (Lorg/hibernate/boot/registry/BootstrapServiceRegistry;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry
         0: .line 99
            aload 0 /* this */
            aload 1 /* bootstrapServiceRegistry */
            iconst_1
            invokespecial org.hibernate.service.internal.AbstractServiceRegistryImpl.<init>:(Lorg/hibernate/boot/registry/BootstrapServiceRegistry;Z)V
         1: .line 100
            return
        end local 1 // org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0    2     0                      this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    2     1  bootstrapServiceRegistry  Lorg/hibernate/boot/registry/BootstrapServiceRegistry;
    MethodParameters:
                          Name  Flags
      bootstrapServiceRegistry  

  public void <init>(org.hibernate.boot.registry.BootstrapServiceRegistry, boolean);
    descriptor: (Lorg/hibernate/boot/registry/BootstrapServiceRegistry;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry
        start local 2 // boolean autoCloseRegistry
         0: .line 102
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 55
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingMap:Ljava/util/concurrent/ConcurrentMap;
         2: .line 56
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.roleXref:Ljava/util/concurrent/ConcurrentMap;
         3: .line 59
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.initializedServiceByRole:Ljava/util/concurrent/ConcurrentMap;
         4: .line 65
            aload 0 /* this */
            bipush 20
            invokestatic org.hibernate.internal.util.collections.CollectionHelper.arrayList:(I)Ljava/util/ArrayList;
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingList:Ljava/util/List;
         5: .line 72
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            iconst_1
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.active:Ljava/util/concurrent/atomic/AtomicBoolean;
         6: .line 105
            ldc Lorg/hibernate/service/spi/ServiceRegistryImplementor;
            aload 1 /* bootstrapServiceRegistry */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifne 8
         7: .line 106
            new java.lang.IllegalArgumentException
            dup
            ldc "ServiceRegistry parent needs to implement ServiceRegistryImplementor"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 108
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl org.hibernate.boot.registry.BootstrapServiceRegistry int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* bootstrapServiceRegistry */
            checkcast org.hibernate.service.spi.ServiceRegistryImplementor
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.parent:Lorg/hibernate/service/spi/ServiceRegistryImplementor;
         9: .line 109
            aload 0 /* this */
            ldc "hibernate.service.allow_crawling"
            invokestatic org.hibernate.cfg.Environment.getProperties:()Ljava/util/Properties;
            iconst_1
            invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getBoolean:(Ljava/lang/String;Ljava/util/Map;Z)Z
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.allowCrawling:Z
        10: .line 111
            aload 0 /* this */
            iload 2 /* autoCloseRegistry */
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.autoCloseRegistry:Z
        11: .line 112
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.parent:Lorg/hibernate/service/spi/ServiceRegistryImplementor;
            aload 0 /* this */
            invokeinterface org.hibernate.service.spi.ServiceRegistryImplementor.registerChild:(Lorg/hibernate/service/spi/ServiceRegistryImplementor;)V
        12: .line 113
            return
        end local 2 // boolean autoCloseRegistry
        end local 1 // org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0   13     0                      this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0   13     1  bootstrapServiceRegistry  Lorg/hibernate/boot/registry/BootstrapServiceRegistry;
            0   13     2         autoCloseRegistry  Z
    MethodParameters:
                          Name  Flags
      bootstrapServiceRegistry  
      autoCloseRegistry         

  protected <R extends org.hibernate.service.Service> void createServiceBinding(org.hibernate.service.spi.ServiceInitiator<R>);
    descriptor: (Lorg/hibernate/service/spi/ServiceInitiator;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceInitiator initiator
         0: .line 117
            new org.hibernate.service.spi.ServiceBinding
            dup
            aload 0 /* this */
            aload 1 /* initiator */
            invokespecial org.hibernate.service.spi.ServiceBinding.<init>:(Lorg/hibernate/service/spi/ServiceBinding$ServiceLifecycleOwner;Lorg/hibernate/service/spi/ServiceInitiator;)V
            astore 2 /* serviceBinding */
        start local 2 // org.hibernate.service.spi.ServiceBinding serviceBinding
         1: .line 118
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingMap:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* initiator */
            invokeinterface org.hibernate.service.spi.ServiceInitiator.getServiceInitiated:()Ljava/lang/Class;
            aload 2 /* serviceBinding */
            invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 119
            return
        end local 2 // org.hibernate.service.spi.ServiceBinding serviceBinding
        end local 1 // org.hibernate.service.spi.ServiceInitiator initiator
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0            this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    3     1       initiator  Lorg/hibernate/service/spi/ServiceInitiator<TR;>;
            1    3     2  serviceBinding  Lorg/hibernate/service/spi/ServiceBinding;
    Signature: <R::Lorg/hibernate/service/Service;>(Lorg/hibernate/service/spi/ServiceInitiator<TR;>;)V
    MethodParameters:
           Name  Flags
      initiator  

  protected <R extends org.hibernate.service.Service> void createServiceBinding(org.hibernate.service.internal.ProvidedService<R>);
    descriptor: (Lorg/hibernate/service/internal/ProvidedService;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.internal.ProvidedService providedService
         0: .line 122
            aload 0 /* this */
            aload 1 /* providedService */
            invokevirtual org.hibernate.service.internal.ProvidedService.getServiceRole:()Ljava/lang/Class;
            iconst_0
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.locateServiceBinding:(Ljava/lang/Class;Z)Lorg/hibernate/service/spi/ServiceBinding;
            astore 2 /* binding */
        start local 2 // org.hibernate.service.spi.ServiceBinding binding
         1: .line 123
            aload 2 /* binding */
            ifnonnull 4
         2: .line 124
            new org.hibernate.service.spi.ServiceBinding
            dup
            aload 0 /* this */
            aload 1 /* providedService */
            invokevirtual org.hibernate.service.internal.ProvidedService.getServiceRole:()Ljava/lang/Class;
            aload 1 /* providedService */
            invokevirtual org.hibernate.service.internal.ProvidedService.getService:()Ljava/lang/Object;
            checkcast org.hibernate.service.Service
            invokespecial org.hibernate.service.spi.ServiceBinding.<init>:(Lorg/hibernate/service/spi/ServiceBinding$ServiceLifecycleOwner;Ljava/lang/Class;Lorg/hibernate/service/Service;)V
            astore 2 /* binding */
         3: .line 125
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingMap:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* providedService */
            invokevirtual org.hibernate.service.internal.ProvidedService.getServiceRole:()Ljava/lang/Class;
            aload 2 /* binding */
            invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 127
      StackMap locals: org.hibernate.service.spi.ServiceBinding
      StackMap stack:
            aload 0 /* this */
            aload 2 /* binding */
            aload 1 /* providedService */
            invokevirtual org.hibernate.service.internal.ProvidedService.getService:()Ljava/lang/Object;
            checkcast org.hibernate.service.Service
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.registerService:(Lorg/hibernate/service/spi/ServiceBinding;Lorg/hibernate/service/Service;)V
         5: .line 128
            return
        end local 2 // org.hibernate.service.spi.ServiceBinding binding
        end local 1 // org.hibernate.service.internal.ProvidedService providedService
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    6     0             this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    6     1  providedService  Lorg/hibernate/service/internal/ProvidedService<TR;>;
            1    6     2          binding  Lorg/hibernate/service/spi/ServiceBinding<TR;>;
    Signature: <R::Lorg/hibernate/service/Service;>(Lorg/hibernate/service/internal/ProvidedService<TR;>;)V
    MethodParameters:
                 Name  Flags
      providedService  

  protected void visitServiceBindings(java.util.function.Consumer<org.hibernate.service.spi.ServiceBinding>);
    descriptor: (Ljava/util/function/Consumer;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // java.util.function.Consumer action
         0: .line 131
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingList:Ljava/util/List;
            aload 1 /* action */
            invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
         1: .line 132
            return
        end local 1 // java.util.function.Consumer action
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    2     1  action  Ljava/util/function/Consumer<Lorg/hibernate/service/spi/ServiceBinding;>;
    Signature: (Ljava/util/function/Consumer<Lorg/hibernate/service/spi/ServiceBinding;>;)V
    MethodParameters:
        Name  Flags
      action  

  public org.hibernate.service.ServiceRegistry getParentServiceRegistry();
    descriptor: ()Lorg/hibernate/service/ServiceRegistry;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
         0: .line 137
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.parent:Lorg/hibernate/service/spi/ServiceRegistryImplementor;
            areturn
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;

  public <R extends org.hibernate.service.Service> org.hibernate.service.spi.ServiceBinding<R> locateServiceBinding(java.lang.Class<R>);
    descriptor: (Ljava/lang/Class;)Lorg/hibernate/service/spi/ServiceBinding;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // java.lang.Class serviceRole
         0: .line 143
            aload 0 /* this */
            aload 1 /* serviceRole */
            iconst_1
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.locateServiceBinding:(Ljava/lang/Class;Z)Lorg/hibernate/service/spi/ServiceBinding;
            areturn
        end local 1 // java.lang.Class serviceRole
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    1     0         this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    1     1  serviceRole  Ljava/lang/Class<TR;>;
    Signature: <R::Lorg/hibernate/service/Service;>(Ljava/lang/Class<TR;>;)Lorg/hibernate/service/spi/ServiceBinding<TR;>;
    MethodParameters:
             Name  Flags
      serviceRole  

  protected <R extends org.hibernate.service.Service> org.hibernate.service.spi.ServiceBinding<R> locateServiceBinding(java.lang.Class<R>, boolean);
    descriptor: (Ljava/lang/Class;Z)Lorg/hibernate/service/spi/ServiceBinding;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=7, args_size=3
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // java.lang.Class serviceRole
        start local 2 // boolean checkParent
         0: .line 148
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingMap:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* serviceRole */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.hibernate.service.spi.ServiceBinding
            astore 3 /* serviceBinding */
        start local 3 // org.hibernate.service.spi.ServiceBinding serviceBinding
         1: .line 149
            aload 3 /* serviceBinding */
            ifnonnull 3
            iload 2 /* checkParent */
            ifeq 3
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.parent:Lorg/hibernate/service/spi/ServiceRegistryImplementor;
            ifnull 3
         2: .line 151
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.parent:Lorg/hibernate/service/spi/ServiceRegistryImplementor;
            aload 1 /* serviceRole */
            invokeinterface org.hibernate.service.spi.ServiceRegistryImplementor.locateServiceBinding:(Ljava/lang/Class;)Lorg/hibernate/service/spi/ServiceBinding;
            astore 3 /* serviceBinding */
         3: .line 154
      StackMap locals: org.hibernate.service.spi.ServiceBinding
      StackMap stack:
            aload 3 /* serviceBinding */
            ifnull 5
         4: .line 155
            aload 3 /* serviceBinding */
            areturn
         5: .line 158
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.allowCrawling:Z
            ifne 7
         6: .line 159
            aconst_null
            areturn
         7: .line 163
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.roleXref:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* serviceRole */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Class
            astore 4 /* alternative */
        start local 4 // java.lang.Class alternative
         8: .line 164
            aload 4 /* alternative */
            ifnull 10
         9: .line 165
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingMap:Ljava/util/concurrent/ConcurrentMap;
            aload 4 /* alternative */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.hibernate.service.spi.ServiceBinding
            areturn
        10: .line 169
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingMap:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 6
            goto 20
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl java.lang.Class int org.hibernate.service.spi.ServiceBinding java.lang.Class top java.util.Iterator
      StackMap stack:
        11: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.hibernate.service.spi.ServiceBinding
            astore 5 /* binding */
        start local 5 // org.hibernate.service.spi.ServiceBinding binding
        12: .line 170
            aload 1 /* serviceRole */
            aload 5 /* binding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getServiceRole:()Ljava/lang/Class;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 16
        13: .line 172
            getstatic org.hibernate.service.internal.AbstractServiceRegistryImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
            aload 1 /* serviceRole */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            aload 5 /* binding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getServiceRole:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokeinterface org.hibernate.internal.CoreMessageLogger.alternateServiceRole:(Ljava/lang/String;Ljava/lang/String;)V
        14: .line 173
            aload 0 /* this */
            aload 1 /* serviceRole */
            aload 5 /* binding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getServiceRole:()Ljava/lang/Class;
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.registerAlternate:(Ljava/lang/Class;Ljava/lang/Class;)V
        15: .line 174
            aload 5 /* binding */
            areturn
        16: .line 177
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl java.lang.Class int org.hibernate.service.spi.ServiceBinding java.lang.Class org.hibernate.service.spi.ServiceBinding java.util.Iterator
      StackMap stack:
            aload 5 /* binding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getService:()Lorg/hibernate/service/Service;
            ifnull 20
            aload 1 /* serviceRole */
            aload 5 /* binding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getService:()Lorg/hibernate/service/Service;
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 20
        17: .line 179
            getstatic org.hibernate.service.internal.AbstractServiceRegistryImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
            aload 1 /* serviceRole */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            aload 5 /* binding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getServiceRole:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokeinterface org.hibernate.internal.CoreMessageLogger.alternateServiceRole:(Ljava/lang/String;Ljava/lang/String;)V
        18: .line 180
            aload 0 /* this */
            aload 1 /* serviceRole */
            aload 5 /* binding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getServiceRole:()Ljava/lang/Class;
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.registerAlternate:(Ljava/lang/Class;Ljava/lang/Class;)V
        19: .line 181
            aload 5 /* binding */
            areturn
        end local 5 // org.hibernate.service.spi.ServiceBinding binding
        20: .line 169
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl java.lang.Class int org.hibernate.service.spi.ServiceBinding java.lang.Class top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 11
        21: .line 185
            aconst_null
            areturn
        end local 4 // java.lang.Class alternative
        end local 3 // org.hibernate.service.spi.ServiceBinding serviceBinding
        end local 2 // boolean checkParent
        end local 1 // java.lang.Class serviceRole
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   22     0            this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0   22     1     serviceRole  Ljava/lang/Class<TR;>;
            0   22     2     checkParent  Z
            1   22     3  serviceBinding  Lorg/hibernate/service/spi/ServiceBinding<TR;>;
            8   22     4     alternative  Ljava/lang/Class;
           12   20     5         binding  Lorg/hibernate/service/spi/ServiceBinding;
    Signature: <R::Lorg/hibernate/service/Service;>(Ljava/lang/Class<TR;>;Z)Lorg/hibernate/service/spi/ServiceBinding<TR;>;
    MethodParameters:
             Name  Flags
      serviceRole  
      checkParent  

  private void registerAlternate(java.lang.Class, java.lang.Class);
    descriptor: (Ljava/lang/Class;Ljava/lang/Class;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // java.lang.Class alternate
        start local 2 // java.lang.Class target
         0: .line 189
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.roleXref:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* alternate */
            aload 2 /* target */
            invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 190
            return
        end local 2 // java.lang.Class target
        end local 1 // java.lang.Class alternate
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    2     1  alternate  Ljava/lang/Class;
            0    2     2     target  Ljava/lang/Class;
    MethodParameters:
           Name  Flags
      alternate  
      target     

  public <R extends org.hibernate.service.Service> R getService(java.lang.Class<R>);
    descriptor: (Ljava/lang/Class;)Lorg/hibernate/service/Service;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // java.lang.Class serviceRole
         0: .line 195
            aload 1 /* serviceRole */
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.initializedServiceByRole:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* serviceRole */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.hibernate.service.Service
            astore 2 /* service */
        start local 2 // org.hibernate.service.Service service
         1: .line 196
            aload 2 /* service */
            ifnull 3
         2: .line 197
            aload 2 /* service */
            areturn
         3: .line 201
      StackMap locals: org.hibernate.service.Service
      StackMap stack:
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         4: .line 203
            aload 1 /* serviceRole */
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.initializedServiceByRole:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* serviceRole */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.hibernate.service.Service
            astore 2 /* service */
         5: .line 204
            aload 2 /* service */
            ifnull 8
         6: .line 205
            aload 2 /* service */
            aload 3
            monitorexit
         7: areturn
         8: .line 208
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl
      StackMap stack:
            aload 0 /* this */
            aload 1 /* serviceRole */
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.locateServiceBinding:(Ljava/lang/Class;)Lorg/hibernate/service/spi/ServiceBinding;
            astore 4 /* serviceBinding */
        start local 4 // org.hibernate.service.spi.ServiceBinding serviceBinding
         9: .line 209
            aload 4 /* serviceBinding */
            ifnonnull 11
        10: .line 210
            new org.hibernate.service.UnknownServiceException
            dup
            aload 1 /* serviceRole */
            invokespecial org.hibernate.service.UnknownServiceException.<init>:(Ljava/lang/Class;)V
            athrow
        11: .line 212
      StackMap locals: org.hibernate.service.spi.ServiceBinding
      StackMap stack:
            aload 4 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getService:()Lorg/hibernate/service/Service;
            astore 2 /* service */
        12: .line 213
            aload 2 /* service */
            ifnonnull 14
        13: .line 214
            aload 0 /* this */
            aload 4 /* serviceBinding */
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService:(Lorg/hibernate/service/spi/ServiceBinding;)Lorg/hibernate/service/Service;
            astore 2 /* service */
        14: .line 216
      StackMap locals:
      StackMap stack:
            aload 2 /* service */
            ifnull 16
        15: .line 218
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.initializedServiceByRole:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* serviceRole */
            aload 2 /* service */
            invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        16: .line 220
      StackMap locals:
      StackMap stack:
            aload 2 /* service */
            aload 3
            monitorexit
        17: areturn
        end local 4 // org.hibernate.service.spi.ServiceBinding serviceBinding
        18: .line 201
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl java.lang.Class org.hibernate.service.Service org.hibernate.service.internal.AbstractServiceRegistryImpl
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
        19: athrow
        end local 2 // org.hibernate.service.Service service
        end local 1 // java.lang.Class serviceRole
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   20     0            this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0   20     1     serviceRole  Ljava/lang/Class<TR;>;
            1   20     2         service  TR;
            9   18     4  serviceBinding  Lorg/hibernate/service/spi/ServiceBinding<TR;>;
      Exception table:
        from    to  target  type
           4     7      18  any
           8    17      18  any
          18    19      18  any
    Signature: <R::Lorg/hibernate/service/Service;>(Ljava/lang/Class<TR;>;)TR;
    MethodParameters:
             Name  Flags
      serviceRole  

  protected <R extends org.hibernate.service.Service> void registerService(org.hibernate.service.spi.ServiceBinding<R>, );
    descriptor: (Lorg/hibernate/service/spi/ServiceBinding;Lorg/hibernate/service/Service;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=4, args_size=3
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceBinding serviceBinding
        start local 2 // org.hibernate.service.Service service
         0: .line 225
            aload 1 /* serviceBinding */
            aload 2 /* service */
            invokevirtual org.hibernate.service.spi.ServiceBinding.setService:(Lorg/hibernate/service/Service;)V
         1: .line 226
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingList:Ljava/util/List;
            dup
            astore 3
            monitorenter
         2: .line 227
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingList:Ljava/util/List;
            aload 1 /* serviceBinding */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         3: .line 226
            aload 3
            monitorexit
         4: goto 7
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl org.hibernate.service.spi.ServiceBinding org.hibernate.service.Service java.util.List
      StackMap stack: java.lang.Throwable
         5: aload 3
            monitorexit
         6: athrow
         7: .line 229
      StackMap locals:
      StackMap stack:
            return
        end local 2 // org.hibernate.service.Service service
        end local 1 // org.hibernate.service.spi.ServiceBinding serviceBinding
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    8     0            this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    8     1  serviceBinding  Lorg/hibernate/service/spi/ServiceBinding<TR;>;
            0    8     2         service  TR;
      Exception table:
        from    to  target  type
           2     4       5  any
           5     6       5  any
    Signature: <R::Lorg/hibernate/service/Service;>(Lorg/hibernate/service/spi/ServiceBinding<TR;>;TR;)V
    MethodParameters:
                Name  Flags
      serviceBinding  
      service         

  private <R extends org.hibernate.service.Service> R initializeService(org.hibernate.service.spi.ServiceBinding<R>);
    descriptor: (Lorg/hibernate/service/spi/ServiceBinding;)Lorg/hibernate/service/Service;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceBinding serviceBinding
         0: .line 232
            getstatic org.hibernate.service.internal.AbstractServiceRegistryImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
            invokeinterface org.hibernate.internal.CoreMessageLogger.isTraceEnabled:()Z
            ifeq 2
         1: .line 233
            getstatic org.hibernate.service.internal.AbstractServiceRegistryImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
            ldc "Initializing service [role={0}]"
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getServiceRole:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
         2: .line 237
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.createService:(Lorg/hibernate/service/spi/ServiceBinding;)Lorg/hibernate/service/Service;
            astore 2 /* service */
        start local 2 // org.hibernate.service.Service service
         3: .line 238
            aload 2 /* service */
            ifnonnull 5
         4: .line 239
            aconst_null
            areturn
         5: .line 243
      StackMap locals: org.hibernate.service.Service
      StackMap stack:
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getLifecycleOwner:()Lorg/hibernate/service/spi/ServiceBinding$ServiceLifecycleOwner;
            aload 1 /* serviceBinding */
            invokeinterface org.hibernate.service.spi.ServiceBinding$ServiceLifecycleOwner.injectDependencies:(Lorg/hibernate/service/spi/ServiceBinding;)V
         6: .line 246
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getLifecycleOwner:()Lorg/hibernate/service/spi/ServiceBinding$ServiceLifecycleOwner;
            aload 1 /* serviceBinding */
            invokeinterface org.hibernate.service.spi.ServiceBinding$ServiceLifecycleOwner.configureService:(Lorg/hibernate/service/spi/ServiceBinding;)V
         7: .line 249
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getLifecycleOwner:()Lorg/hibernate/service/spi/ServiceBinding$ServiceLifecycleOwner;
            aload 1 /* serviceBinding */
            invokeinterface org.hibernate.service.spi.ServiceBinding$ServiceLifecycleOwner.startService:(Lorg/hibernate/service/spi/ServiceBinding;)V
         8: .line 251
            aload 2 /* service */
            areturn
        end local 2 // org.hibernate.service.Service service
        end local 1 // org.hibernate.service.spi.ServiceBinding serviceBinding
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    9     0            this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    9     1  serviceBinding  Lorg/hibernate/service/spi/ServiceBinding<TR;>;
            3    9     2         service  TR;
    Signature: <R::Lorg/hibernate/service/Service;>(Lorg/hibernate/service/spi/ServiceBinding<TR;>;)TR;
    MethodParameters:
                Name  Flags
      serviceBinding  

  protected <R extends org.hibernate.service.Service> R createService(org.hibernate.service.spi.ServiceBinding<R>);
    descriptor: (Lorg/hibernate/service/spi/ServiceBinding;)Lorg/hibernate/service/Service;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceBinding serviceBinding
         0: .line 256
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getServiceInitiator:()Lorg/hibernate/service/spi/ServiceInitiator;
            astore 2 /* serviceInitiator */
        start local 2 // org.hibernate.service.spi.ServiceInitiator serviceInitiator
         1: .line 257
            aload 2 /* serviceInitiator */
            ifnonnull 3
         2: .line 259
            new org.hibernate.service.UnknownServiceException
            dup
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getServiceRole:()Ljava/lang/Class;
            invokespecial org.hibernate.service.UnknownServiceException.<init>:(Ljava/lang/Class;)V
            athrow
         3: .line 263
      StackMap locals: org.hibernate.service.spi.ServiceInitiator
      StackMap stack:
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getLifecycleOwner:()Lorg/hibernate/service/spi/ServiceBinding$ServiceLifecycleOwner;
            aload 2 /* serviceInitiator */
            invokeinterface org.hibernate.service.spi.ServiceBinding$ServiceLifecycleOwner.initiateService:(Lorg/hibernate/service/spi/ServiceInitiator;)Lorg/hibernate/service/Service;
            astore 3 /* service */
        start local 3 // org.hibernate.service.Service service
         4: .line 266
            aload 3 /* service */
            ifnull 6
         5: .line 267
            aload 0 /* this */
            aload 1 /* serviceBinding */
            aload 3 /* service */
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.registerService:(Lorg/hibernate/service/spi/ServiceBinding;Lorg/hibernate/service/Service;)V
         6: .line 269
      StackMap locals: org.hibernate.service.Service
      StackMap stack:
            aload 3 /* service */
         7: areturn
        end local 3 // org.hibernate.service.Service service
         8: .line 271
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl org.hibernate.service.spi.ServiceBinding org.hibernate.service.spi.ServiceInitiator
      StackMap stack: org.hibernate.service.spi.ServiceException
            astore 3 /* e */
        start local 3 // org.hibernate.service.spi.ServiceException e
         9: .line 272
            aload 3 /* e */
            athrow
        end local 3 // org.hibernate.service.spi.ServiceException e
        10: .line 274
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 3 /* e */
        start local 3 // java.lang.Exception e
        11: .line 275
            new org.hibernate.service.spi.ServiceException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unable to create requested service ["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getServiceRole:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 3 /* e */
            invokespecial org.hibernate.service.spi.ServiceException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Exception e
        end local 2 // org.hibernate.service.spi.ServiceInitiator serviceInitiator
        end local 1 // org.hibernate.service.spi.ServiceBinding serviceBinding
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   12     0              this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0   12     1    serviceBinding  Lorg/hibernate/service/spi/ServiceBinding<TR;>;
            1   12     2  serviceInitiator  Lorg/hibernate/service/spi/ServiceInitiator<TR;>;
            4    8     3           service  TR;
            9   10     3                 e  Lorg/hibernate/service/spi/ServiceException;
           11   12     3                 e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           3     7       8  Class org.hibernate.service.spi.ServiceException
           3     7      10  Class java.lang.Exception
    Signature: <R::Lorg/hibernate/service/Service;>(Lorg/hibernate/service/spi/ServiceBinding<TR;>;)TR;
    MethodParameters:
                Name  Flags
      serviceBinding  

  public <R extends org.hibernate.service.Service> void injectDependencies(org.hibernate.service.spi.ServiceBinding<R>);
    descriptor: (Lorg/hibernate/service/spi/ServiceBinding;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceBinding serviceBinding
         0: .line 281
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getService:()Lorg/hibernate/service/Service;
            astore 2 /* service */
        start local 2 // org.hibernate.service.Service service
         1: .line 283
            aload 0 /* this */
            aload 2 /* service */
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.applyInjections:(Lorg/hibernate/service/Service;)V
         2: .line 285
            ldc Lorg/hibernate/service/spi/ServiceRegistryAwareService;
            aload 2 /* service */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 286
            aload 2 /* service */
            checkcast org.hibernate.service.spi.ServiceRegistryAwareService
            aload 0 /* this */
            invokeinterface org.hibernate.service.spi.ServiceRegistryAwareService.injectServices:(Lorg/hibernate/service/spi/ServiceRegistryImplementor;)V
         4: .line 288
      StackMap locals: org.hibernate.service.Service
      StackMap stack:
            return
        end local 2 // org.hibernate.service.Service service
        end local 1 // org.hibernate.service.spi.ServiceBinding serviceBinding
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    5     0            this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    5     1  serviceBinding  Lorg/hibernate/service/spi/ServiceBinding<TR;>;
            1    5     2         service  TR;
    Signature: <R::Lorg/hibernate/service/Service;>(Lorg/hibernate/service/spi/ServiceBinding<TR;>;)V
    MethodParameters:
                Name  Flags
      serviceBinding  

  private <R extends org.hibernate.service.Service> void applyInjections();
    descriptor: (Lorg/hibernate/service/Service;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=7, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.Service service
         0: .line 292
            aload 1 /* service */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 7
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl org.hibernate.service.Service top int int java.lang.reflect.Method[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* method */
        start local 2 // java.lang.reflect.Method method
         2: .line 293
            aload 2 /* method */
            ldc Lorg/hibernate/service/spi/InjectService;
            invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
            checkcast org.hibernate.service.spi.InjectService
            astore 6 /* injectService */
        start local 6 // org.hibernate.service.spi.InjectService injectService
         3: .line 294
            aload 6 /* injectService */
            ifnonnull 5
         4: .line 295
            goto 6
         5: .line 298
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl org.hibernate.service.Service java.lang.reflect.Method int int java.lang.reflect.Method[] org.hibernate.service.spi.InjectService
      StackMap stack:
            aload 0 /* this */
            aload 1 /* service */
            aload 2 /* method */
            aload 6 /* injectService */
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.processInjection:(Lorg/hibernate/service/Service;Ljava/lang/reflect/Method;Lorg/hibernate/service/spi/InjectService;)V
        end local 6 // org.hibernate.service.spi.InjectService injectService
        end local 2 // java.lang.reflect.Method method
         6: .line 292
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl org.hibernate.service.Service top int int java.lang.reflect.Method[]
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         7: iload 3
            iload 4
            if_icmplt 1
         8: .line 300
            goto 11
         9: .line 301
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl org.hibernate.service.Service
      StackMap stack: java.lang.NullPointerException
            pop
        10: .line 302
            getstatic org.hibernate.service.internal.AbstractServiceRegistryImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
            new java.lang.StringBuilder
            dup
            ldc "NPE injecting service deps : "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* service */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface org.hibernate.internal.CoreMessageLogger.error:(Ljava/lang/Object;)V
        11: .line 304
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.hibernate.service.Service service
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   12     0           this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0   12     1        service  TR;
            2    6     2         method  Ljava/lang/reflect/Method;
            3    6     6  injectService  Lorg/hibernate/service/spi/InjectService;
      Exception table:
        from    to  target  type
           0     8       9  Class java.lang.NullPointerException
    Signature: <R::Lorg/hibernate/service/Service;>(TR;)V
    MethodParameters:
         Name  Flags
      service  

  private <T extends org.hibernate.service.Service> void processInjection(T, java.lang.reflect.Method, org.hibernate.service.spi.InjectService);
    descriptor: (Lorg/hibernate/service/Service;Ljava/lang/reflect/Method;Lorg/hibernate/service/spi/InjectService;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=7, args_size=4
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.Service service
        start local 2 // java.lang.reflect.Method injectionMethod
        start local 3 // org.hibernate.service.spi.InjectService injectService
         0: .line 308
            aload 2 /* injectionMethod */
            invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
            ifnull 1
            aload 2 /* injectionMethod */
            invokevirtual java.lang.reflect.Method.getParameterCount:()I
            iconst_1
            if_icmpeq 4
         1: .line 309
      StackMap locals:
      StackMap stack:
            new org.hibernate.service.internal.ServiceDependencyException
            dup
         2: .line 310
            ldc "Encountered @InjectService on method with unexpected number of parameters"
         3: .line 309
            invokespecial org.hibernate.service.internal.ServiceDependencyException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 314
      StackMap locals:
      StackMap stack:
            aload 3 /* injectService */
            invokeinterface org.hibernate.service.spi.InjectService.serviceRole:()Ljava/lang/Class;
            astore 4 /* dependentServiceRole */
        start local 4 // java.lang.Class dependentServiceRole
         5: .line 315
            aload 4 /* dependentServiceRole */
            ifnull 6
            aload 4 /* dependentServiceRole */
            ldc Ljava/lang/Void;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 7
         6: .line 316
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 2 /* injectionMethod */
            invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
            iconst_0
            aaload
            astore 4 /* dependentServiceRole */
         7: .line 321
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* dependentServiceRole */
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
            astore 5 /* dependantService */
        start local 5 // org.hibernate.service.Service dependantService
         8: .line 322
            aload 5 /* dependantService */
            ifnonnull 13
         9: .line 323
            aload 3 /* injectService */
            invokeinterface org.hibernate.service.spi.InjectService.required:()Z
            ifeq 17
        10: .line 324
            new org.hibernate.service.internal.ServiceDependencyException
            dup
        11: .line 325
            new java.lang.StringBuilder
            dup
            ldc "Dependency ["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* dependentServiceRole */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "] declared by service ["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* service */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "] not found"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        12: .line 324
            invokespecial org.hibernate.service.internal.ServiceDependencyException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 331
      StackMap locals: org.hibernate.service.Service
      StackMap stack:
            aload 2 /* injectionMethod */
            aload 1 /* service */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 5 /* dependantService */
            aastore
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            pop
        14: .line 332
            goto 17
        15: .line 333
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 6 /* e */
        start local 6 // java.lang.Exception e
        16: .line 334
            new org.hibernate.service.internal.ServiceDependencyException
            dup
            ldc "Cannot inject dependency service"
            aload 6 /* e */
            invokespecial org.hibernate.service.internal.ServiceDependencyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 6 // java.lang.Exception e
        17: .line 337
      StackMap locals:
      StackMap stack:
            return
        end local 5 // org.hibernate.service.Service dependantService
        end local 4 // java.lang.Class dependentServiceRole
        end local 3 // org.hibernate.service.spi.InjectService injectService
        end local 2 // java.lang.reflect.Method injectionMethod
        end local 1 // org.hibernate.service.Service service
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   18     0                  this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0   18     1               service  TT;
            0   18     2       injectionMethod  Ljava/lang/reflect/Method;
            0   18     3         injectService  Lorg/hibernate/service/spi/InjectService;
            5   18     4  dependentServiceRole  Ljava/lang/Class;
            8   18     5      dependantService  Lorg/hibernate/service/Service;
           16   17     6                     e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
          13    14      15  Class java.lang.Exception
    Signature: <T::Lorg/hibernate/service/Service;>(TT;Ljava/lang/reflect/Method;Lorg/hibernate/service/spi/InjectService;)V
    MethodParameters:
                 Name  Flags
      service          
      injectionMethod  
      injectService    

  public <R extends org.hibernate.service.Service> void startService(org.hibernate.service.spi.ServiceBinding<R>);
    descriptor: (Lorg/hibernate/service/spi/ServiceBinding;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceBinding serviceBinding
         0: .line 342
            ldc Lorg/hibernate/service/spi/Startable;
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getService:()Lorg/hibernate/service/Service;
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 343
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getService:()Lorg/hibernate/service/Service;
            checkcast org.hibernate.service.spi.Startable
            invokeinterface org.hibernate.service.spi.Startable.start:()V
         2: .line 346
      StackMap locals:
      StackMap stack:
            ldc Lorg/hibernate/service/spi/Manageable;
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getService:()Lorg/hibernate/service/Service;
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 7
         3: .line 347
            aload 0 /* this */
            ldc Lorg/hibernate/jmx/spi/JmxService;
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
            checkcast org.hibernate.jmx.spi.JmxService
         4: .line 348
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getService:()Lorg/hibernate/service/Service;
            checkcast org.hibernate.service.spi.Manageable
         5: .line 349
            aload 1 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getServiceRole:()Ljava/lang/Class;
         6: .line 347
            invokeinterface org.hibernate.jmx.spi.JmxService.registerService:(Lorg/hibernate/service/spi/Manageable;Ljava/lang/Class;)V
         7: .line 352
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.hibernate.service.spi.ServiceBinding serviceBinding
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    8     0            this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    8     1  serviceBinding  Lorg/hibernate/service/spi/ServiceBinding<TR;>;
    Signature: <R::Lorg/hibernate/service/Service;>(Lorg/hibernate/service/spi/ServiceBinding<TR;>;)V
    MethodParameters:
                Name  Flags
      serviceBinding  

  public boolean isActive();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
         0: .line 355
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.active:Ljava/util/concurrent/atomic/AtomicBoolean;
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            ireturn
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;

  public synchronized void destroy();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
         0: .line 361
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.active:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_1
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifeq 21
         1: .line 365
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.initializedServiceByRole:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
         2: .line 366
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingList:Ljava/util/List;
            dup
            astore 1
            monitorenter
         3: .line 367
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingList:Ljava/util/List;
         4: .line 368
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingList:Ljava/util/List;
            invokeinterface java.util.List.size:()I
         5: .line 367
            invokeinterface java.util.List.listIterator:(I)Ljava/util/ListIterator;
            astore 2 /* serviceBindingsIterator */
        start local 2 // java.util.ListIterator serviceBindingsIterator
         6: .line 370
            goto 9
         7: .line 371
      StackMap locals: java.util.List java.util.ListIterator
      StackMap stack:
            aload 2 /* serviceBindingsIterator */
            invokeinterface java.util.ListIterator.previous:()Ljava/lang/Object;
            checkcast org.hibernate.service.spi.ServiceBinding
            astore 3 /* serviceBinding */
        start local 3 // org.hibernate.service.spi.ServiceBinding serviceBinding
         8: .line 372
            aload 3 /* serviceBinding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getLifecycleOwner:()Lorg/hibernate/service/spi/ServiceBinding$ServiceLifecycleOwner;
            aload 3 /* serviceBinding */
            invokeinterface org.hibernate.service.spi.ServiceBinding$ServiceLifecycleOwner.stopService:(Lorg/hibernate/service/spi/ServiceBinding;)V
        end local 3 // org.hibernate.service.spi.ServiceBinding serviceBinding
         9: .line 370
      StackMap locals:
      StackMap stack:
            aload 2 /* serviceBindingsIterator */
            invokeinterface java.util.ListIterator.hasPrevious:()Z
            ifne 7
        10: .line 374
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingList:Ljava/util/List;
            invokeinterface java.util.List.clear:()V
        end local 2 // java.util.ListIterator serviceBindingsIterator
        11: .line 366
            aload 1
            monitorexit
        12: goto 15
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl java.util.List
      StackMap stack: java.lang.Throwable
        13: aload 1
            monitorexit
        14: athrow
        15: .line 376
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.serviceBindingMap:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
        16: .line 377
            goto 20
        17: .line 378
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4
        18: .line 379
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.parent:Lorg/hibernate/service/spi/ServiceRegistryImplementor;
            aload 0 /* this */
            invokeinterface org.hibernate.service.spi.ServiceRegistryImplementor.deRegisterChild:(Lorg/hibernate/service/spi/ServiceRegistryImplementor;)V
        19: .line 380
            aload 4
            athrow
        20: .line 379
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.parent:Lorg/hibernate/service/spi/ServiceRegistryImplementor;
            aload 0 /* this */
            invokeinterface org.hibernate.service.spi.ServiceRegistryImplementor.deRegisterChild:(Lorg/hibernate/service/spi/ServiceRegistryImplementor;)V
        21: .line 382
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot                     Name  Signature
            0   22     0                     this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            6   11     2  serviceBindingsIterator  Ljava/util/ListIterator<Lorg/hibernate/service/spi/ServiceBinding;>;
            8    9     3           serviceBinding  Lorg/hibernate/service/spi/ServiceBinding;
      Exception table:
        from    to  target  type
           3    12      13  any
          13    14      13  any
           1    17      17  any

  public <R extends org.hibernate.service.Service> void stopService(org.hibernate.service.spi.ServiceBinding<R>);
    descriptor: (Lorg/hibernate/service/spi/ServiceBinding;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceBinding binding
         0: .line 386
            aload 1 /* binding */
            invokevirtual org.hibernate.service.spi.ServiceBinding.getService:()Lorg/hibernate/service/Service;
            astore 2 /* service */
        start local 2 // org.hibernate.service.Service service
         1: .line 387
            ldc Lorg/hibernate/service/spi/Stoppable;
            aload 2 /* service */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 6
         2: .line 389
            aload 2 /* service */
            checkcast org.hibernate.service.spi.Stoppable
            invokeinterface org.hibernate.service.spi.Stoppable.stop:()V
         3: .line 390
            goto 6
         4: .line 391
      StackMap locals: org.hibernate.service.internal.AbstractServiceRegistryImpl org.hibernate.service.spi.ServiceBinding org.hibernate.service.Service
      StackMap stack: java.lang.Exception
            astore 3 /* e */
        start local 3 // java.lang.Exception e
         5: .line 392
            getstatic org.hibernate.service.internal.AbstractServiceRegistryImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
            aload 2 /* service */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            aload 3 /* e */
            invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
            invokeinterface org.hibernate.internal.CoreMessageLogger.unableToStopService:(Ljava/lang/Class;Ljava/lang/String;)V
        end local 3 // java.lang.Exception e
         6: .line 395
      StackMap locals:
      StackMap stack:
            return
        end local 2 // org.hibernate.service.Service service
        end local 1 // org.hibernate.service.spi.ServiceBinding binding
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    7     1  binding  Lorg/hibernate/service/spi/ServiceBinding<TR;>;
            1    7     2  service  Lorg/hibernate/service/Service;
            5    6     3        e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.Exception
    Signature: <R::Lorg/hibernate/service/Service;>(Lorg/hibernate/service/spi/ServiceBinding<TR;>;)V
    MethodParameters:
         Name  Flags
      binding  

  public synchronized void registerChild(org.hibernate.service.spi.ServiceRegistryImplementor);
    descriptor: (Lorg/hibernate/service/spi/ServiceRegistryImplementor;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceRegistryImplementor child
         0: .line 399
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.childRegistries:Ljava/util/Set;
            ifnonnull 2
         1: .line 400
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield org.hibernate.service.internal.AbstractServiceRegistryImpl.childRegistries:Ljava/util/Set;
         2: .line 402
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.childRegistries:Ljava/util/Set;
            aload 1 /* child */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            ifne 7
         3: .line 403
            getstatic org.hibernate.service.internal.AbstractServiceRegistryImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
         4: .line 404
            ldc "Child ServiceRegistry [%s] was already registered; this will end badly later..."
         5: .line 405
            aload 1 /* child */
         6: .line 403
            invokeinterface org.hibernate.internal.CoreMessageLogger.warnf:(Ljava/lang/String;Ljava/lang/Object;)V
         7: .line 408
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.hibernate.service.spi.ServiceRegistryImplementor child
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    8     0   this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0    8     1  child  Lorg/hibernate/service/spi/ServiceRegistryImplementor;
    MethodParameters:
       Name  Flags
      child  

  public synchronized void deRegisterChild(org.hibernate.service.spi.ServiceRegistryImplementor);
    descriptor: (Lorg/hibernate/service/spi/ServiceRegistryImplementor;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
        start local 1 // org.hibernate.service.spi.ServiceRegistryImplementor child
         0: .line 412
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.childRegistries:Ljava/util/Set;
            ifnonnull 2
         1: .line 413
            new java.lang.IllegalStateException
            dup
            ldc "No child ServiceRegistry registrations found"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 415
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.childRegistries:Ljava/util/Set;
            aload 1 /* child */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
         3: .line 416
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.childRegistries:Ljava/util/Set;
            invokeinterface java.util.Set.isEmpty:()Z
            ifeq 13
         4: .line 417
            aload 0 /* this */
            getfield org.hibernate.service.internal.AbstractServiceRegistryImpl.autoCloseRegistry:Z
            ifeq 10
         5: .line 418
            getstatic org.hibernate.service.internal.AbstractServiceRegistryImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
         6: .line 419
            ldc "Implicitly destroying ServiceRegistry on de-registration of all child ServiceRegistries"
         7: .line 418
            invokeinterface org.hibernate.internal.CoreMessageLogger.debug:(Ljava/lang/Object;)V
         8: .line 422
            aload 0 /* this */
            invokevirtual org.hibernate.service.internal.AbstractServiceRegistryImpl.destroy:()V
         9: .line 423
            goto 13
        10: .line 425
      StackMap locals:
      StackMap stack:
            getstatic org.hibernate.service.internal.AbstractServiceRegistryImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
        11: .line 426
            ldc "Skipping implicitly destroying ServiceRegistry on de-registration of all child ServiceRegistries"
        12: .line 425
            invokeinterface org.hibernate.internal.CoreMessageLogger.debug:(Ljava/lang/Object;)V
        13: .line 431
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.hibernate.service.spi.ServiceRegistryImplementor child
        end local 0 // org.hibernate.service.internal.AbstractServiceRegistryImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   14     0   this  Lorg/hibernate/service/internal/AbstractServiceRegistryImpl;
            0   14     1  child  Lorg/hibernate/service/spi/ServiceRegistryImplementor;
    MethodParameters:
       Name  Flags
      child  
}
SourceFile: "AbstractServiceRegistryImpl.java"
InnerClasses:
  public abstract ServiceLifecycleOwner = org.hibernate.service.spi.ServiceBinding$ServiceLifecycleOwner of org.hibernate.service.spi.ServiceBinding