public class org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory implements org.jboss.resteasy.spi.ResourceFactory
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory
  super_class: java.lang.Object
{
  private java.lang.String jndiName;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private javax.naming.InitialContext ctx;
    descriptor: Ljavax/naming/InitialContext;
    flags: (0x0002) ACC_PRIVATE

  private volatile java.lang.Object reference;
    descriptor: Ljava/lang/Object;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private java.lang.Class scannable;
    descriptor: Ljava/lang/Class;
    flags: (0x0002) ACC_PRIVATE

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

  public void <init>(java.lang.String, java.lang.Class, boolean);
    descriptor: (Ljava/lang/String;Ljava/lang/Class;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
        start local 1 // java.lang.String jndiName
        start local 2 // java.lang.Class scannable
        start local 3 // boolean cacheReference
         0: .line 26
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 28
            aload 0 /* this */
            aload 1 /* jndiName */
            putfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.jndiName:Ljava/lang/String;
         2: .line 29
            aload 0 /* this */
            aload 2 /* scannable */
            putfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.scannable:Ljava/lang/Class;
         3: .line 30
            aload 0 /* this */
            iload 3 /* cacheReference */
            putfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.cache:Z
         4: .line 33
            aload 0 /* this */
            new javax.naming.InitialContext
            dup
            invokespecial javax.naming.InitialContext.<init>:()V
            putfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.ctx:Ljavax/naming/InitialContext;
         5: .line 34
            goto 8
         6: .line 35
      StackMap locals: org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory java.lang.String java.lang.Class int
      StackMap stack: javax.naming.NamingException
            astore 4 /* e */
        start local 4 // javax.naming.NamingException e
         7: .line 37
            new java.lang.RuntimeException
            dup
            aload 4 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 4 // javax.naming.NamingException e
         8: .line 39
      StackMap locals:
      StackMap stack:
            return
        end local 3 // boolean cacheReference
        end local 2 // java.lang.Class scannable
        end local 1 // java.lang.String jndiName
        end local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    9     0            this  Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiComponentResourceFactory;
            0    9     1        jndiName  Ljava/lang/String;
            0    9     2       scannable  Ljava/lang/Class;
            0    9     3  cacheReference  Z
            7    8     4               e  Ljavax/naming/NamingException;
      Exception table:
        from    to  target  type
           4     5       6  Class javax.naming.NamingException
    MethodParameters:
                Name  Flags
      jndiName        final
      scannable       final
      cacheReference  final

  public void registered(org.jboss.resteasy.spi.ResteasyProviderFactory);
    descriptor: (Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
        start local 1 // org.jboss.resteasy.spi.ResteasyProviderFactory factory
         0: .line 43
            return
        end local 1 // org.jboss.resteasy.spi.ResteasyProviderFactory factory
        end local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiComponentResourceFactory;
            0    1     1  factory  Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
    MethodParameters:
         Name  Flags
      factory  

  public java.lang.Object createResource(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.spi.ResteasyProviderFactory);
    descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=4
        start local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
        start local 1 // org.jboss.resteasy.spi.HttpRequest request
        start local 2 // org.jboss.resteasy.spi.HttpResponse response
        start local 3 // org.jboss.resteasy.spi.ResteasyProviderFactory factory
         0: .line 47
            aload 0 /* this */
            getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.reference:Ljava/lang/Object;
            ifnull 1
            aload 0 /* this */
            getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.reference:Ljava/lang/Object;
            areturn
         1: .line 48
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.reference:Ljava/lang/Object;
            astore 4 /* ref */
        start local 4 // java.lang.Object ref
         2: .line 49
            aload 4 /* ref */
            ifnonnull 14
         3: .line 53
            aload 0 /* this */
            getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.ctx:Ljavax/naming/InitialContext;
            aload 0 /* this */
            getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.jndiName:Ljava/lang/String;
            invokevirtual javax.naming.InitialContext.lookup:(Ljava/lang/String;)Ljava/lang/Object;
            astore 4 /* ref */
         4: .line 54
            goto 7
         5: .line 55
      StackMap locals: org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse org.jboss.resteasy.spi.ResteasyProviderFactory java.lang.Object
      StackMap stack: javax.naming.NamingException
            astore 5 /* e */
        start local 5 // javax.naming.NamingException e
         6: .line 57
            new java.lang.RuntimeException
            dup
            aload 5 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 5 // javax.naming.NamingException e
         7: .line 59
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.cache:Z
            ifeq 14
         8: .line 61
            aload 0 /* this */
            dup
            astore 5
            monitorenter
         9: .line 63
            aload 0 /* this */
            aload 4 /* ref */
            putfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.reference:Ljava/lang/Object;
        10: .line 61
            aload 5
            monitorexit
        11: goto 14
      StackMap locals: org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse org.jboss.resteasy.spi.ResteasyProviderFactory java.lang.Object org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory
      StackMap stack: java.lang.Throwable
        12: aload 5
            monitorexit
        13: athrow
        14: .line 67
      StackMap locals:
      StackMap stack:
            aload 4 /* ref */
            areturn
        end local 4 // java.lang.Object ref
        end local 3 // org.jboss.resteasy.spi.ResteasyProviderFactory factory
        end local 2 // org.jboss.resteasy.spi.HttpResponse response
        end local 1 // org.jboss.resteasy.spi.HttpRequest request
        end local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   15     0      this  Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiComponentResourceFactory;
            0   15     1   request  Lorg/jboss/resteasy/spi/HttpRequest;
            0   15     2  response  Lorg/jboss/resteasy/spi/HttpResponse;
            0   15     3   factory  Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
            2   15     4       ref  Ljava/lang/Object;
            6    7     5         e  Ljavax/naming/NamingException;
      Exception table:
        from    to  target  type
           3     4       5  Class javax.naming.NamingException
           9    11      12  any
          12    13      12  any
    MethodParameters:
          Name  Flags
      request   
      response  
      factory   

  public void unregistered();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
         0: .line 72
            return
        end local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiComponentResourceFactory;

  public java.lang.Class<?> getScannableClass();
    descriptor: ()Ljava/lang/Class;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
         0: .line 76
            aload 0 /* this */
            getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory.scannable:Ljava/lang/Class;
            areturn
        end local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiComponentResourceFactory;
    Signature: ()Ljava/lang/Class<*>;

  public void requestFinished(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, java.lang.Object);
    descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=4, args_size=4
        start local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
        start local 1 // org.jboss.resteasy.spi.HttpRequest request
        start local 2 // org.jboss.resteasy.spi.HttpResponse response
        start local 3 // java.lang.Object resource
         0: .line 81
            return
        end local 3 // java.lang.Object resource
        end local 2 // org.jboss.resteasy.spi.HttpResponse response
        end local 1 // org.jboss.resteasy.spi.HttpRequest request
        end local 0 // org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiComponentResourceFactory;
            0    1     1   request  Lorg/jboss/resteasy/spi/HttpRequest;
            0    1     2  response  Lorg/jboss/resteasy/spi/HttpResponse;
            0    1     3  resource  Ljava/lang/Object;
    MethodParameters:
          Name  Flags
      request   
      response  
      resource  
}
SourceFile: "JndiComponentResourceFactory.java"