public class org.jboss.resteasy.plugins.server.resourcefactory.SingletonResource 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.SingletonResource
super_class: java.lang.Object
{
private final java.lang.Object obj;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jboss.resteasy.spi.metadata.ResourceClass resourceClass;
descriptor: Lorg/jboss/resteasy/spi/metadata/ResourceClass;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, 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.SingletonResource.obj:Ljava/lang/Object;
2: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.jboss.resteasy.spi.metadata.ResourceBuilder.rootResourceFromAnnotations:(Ljava/lang/Class;)Lorg/jboss/resteasy/spi/metadata/ResourceClass;
putfield org.jboss.resteasy.plugins.server.resourcefactory.SingletonResource.resourceClass:Lorg/jboss/resteasy/spi/metadata/ResourceClass;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/SingletonResource;
0 4 1 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj
public void <init>(java.lang.Object, org.jboss.resteasy.spi.metadata.ResourceClass);
descriptor: (Ljava/lang/Object;Lorg/jboss/resteasy/spi/metadata/ResourceClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jboss.resteasy.plugins.server.resourcefactory.SingletonResource.obj:Ljava/lang/Object;
2: aload 0
aload 2
putfield org.jboss.resteasy.plugins.server.resourcefactory.SingletonResource.resourceClass:Lorg/jboss/resteasy/spi/metadata/ResourceClass;
3: return
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/SingletonResource;
0 4 1 obj Ljava/lang/Object;
0 4 2 resourceClass Lorg/jboss/resteasy/spi/metadata/ResourceClass;
MethodParameters:
Name Flags
obj
resourceClass
public void registered(org.jboss.resteasy.spi.ResteasyProviderFactory);
descriptor: (Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getInjectorFactory:()Lorg/jboss/resteasy/spi/InjectorFactory;
aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.SingletonResource.resourceClass:Lorg/jboss/resteasy/spi/metadata/ResourceClass;
aload 1
invokeinterface org.jboss.resteasy.spi.InjectorFactory.createPropertyInjector:(Lorg/jboss/resteasy/spi/metadata/ResourceClass;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)Lorg/jboss/resteasy/spi/PropertyInjector;
aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.SingletonResource.obj:Ljava/lang/Object;
invokeinterface org.jboss.resteasy.spi.PropertyInjector.inject:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/SingletonResource;
0 2 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=1, locals=4, 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.SingletonResource.obj:Ljava/lang/Object;
areturn
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/SingletonResource;
0 1 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 1 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 1 3 factory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
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/SingletonResource;
public java.lang.Class<?> getScannableClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.SingletonResource.obj:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/SingletonResource;
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/SingletonResource;
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: "SingletonResource.java"