public class org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory 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.JndiResourceFactory
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
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory.jndiName:Ljava/lang/String;
2: aload 0
new javax.naming.InitialContext
dup
invokespecial javax.naming.InitialContext.<init>:()V
putfield org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory.ctx:Ljavax/naming/InitialContext;
3: goto 6
4: StackMap locals: org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory java.lang.String
StackMap stack: javax.naming.NamingException
astore 2
start local 2 5: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiResourceFactory;
0 7 1 jndiName Ljava/lang/String;
5 6 2 e Ljavax/naming/NamingException;
Exception table:
from to target type
2 3 4 Class javax.naming.NamingException
MethodParameters:
Name Flags
jndiName
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 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiResourceFactory;
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=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory.ctx:Ljavax/naming/InitialContext;
aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory.jndiName:Ljava/lang/String;
invokevirtual javax.naming.InitialContext.lookup:(Ljava/lang/String;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 4
start local 4 3: new java.lang.RuntimeException
dup
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiResourceFactory;
0 4 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 4 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 4 3 factory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
3 4 4 e Ljavax/naming/NamingException;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
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 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiResourceFactory;
public java.lang.Class<?> getScannableClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory.ctx:Ljavax/naming/InitialContext;
aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory.jndiName:Ljava/lang/String;
invokevirtual javax.naming.InitialContext.lookup:(Ljava/lang/String;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
2: areturn
end local 1 3: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 1
start local 1 4: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiResourceFactory;
1 3 1 obj Ljava/lang/Object;
4 5 1 e Ljavax/naming/NamingException;
Exception table:
from to target type
0 2 3 Class javax.naming.NamingException
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 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/JndiResourceFactory;
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: "JndiResourceFactory.java"