public class org.glassfish.jersey.model.internal.ManagedObjectsFinalizer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.jersey.model.internal.ManagedObjectsFinalizer
super_class: java.lang.Object
{
private final org.glassfish.jersey.internal.inject.InjectionManager injectionManager;
descriptor: Lorg/glassfish/jersey/internal/inject/InjectionManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<java.lang.Object> managedObjects;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Object;>;
public void <init>(org.glassfish.jersey.internal.inject.InjectionManager);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // org.glassfish.jersey.model.internal.ManagedObjectsFinalizer this
start local 1 // org.glassfish.jersey.internal.inject.InjectionManager injectionManager
0: .line 52
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 45
aload 0 /* this */
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.glassfish.jersey.model.internal.ManagedObjectsFinalizer.managedObjects:Ljava/util/Set;
2: .line 53
aload 0 /* this */
aload 1 /* injectionManager */
putfield org.glassfish.jersey.model.internal.ManagedObjectsFinalizer.injectionManager:Lorg/glassfish/jersey/internal/inject/InjectionManager;
3: .line 54
return
end local 1 // org.glassfish.jersey.internal.inject.InjectionManager injectionManager
end local 0 // org.glassfish.jersey.model.internal.ManagedObjectsFinalizer this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/jersey/model/internal/ManagedObjectsFinalizer;
0 4 1 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
MethodParameters:
Name Flags
injectionManager final
public void registerForPreDestroyCall(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.glassfish.jersey.model.internal.ManagedObjectsFinalizer this
start local 1 // java.lang.Object object
0: .line 63
aload 0 /* this */
getfield org.glassfish.jersey.model.internal.ManagedObjectsFinalizer.managedObjects:Ljava/util/Set;
aload 1 /* object */
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: .line 64
return
end local 1 // java.lang.Object object
end local 0 // org.glassfish.jersey.model.internal.ManagedObjectsFinalizer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/model/internal/ManagedObjectsFinalizer;
0 2 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
public void preDestroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 // org.glassfish.jersey.model.internal.ManagedObjectsFinalizer this
0: .line 69
aload 0 /* this */
getfield org.glassfish.jersey.model.internal.ManagedObjectsFinalizer.managedObjects:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: org.glassfish.jersey.model.internal.ManagedObjectsFinalizer top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 1 /* o */
start local 1 // java.lang.Object o
2: .line 70
aload 0 /* this */
getfield org.glassfish.jersey.model.internal.ManagedObjectsFinalizer.injectionManager:Lorg/glassfish/jersey/internal/inject/InjectionManager;
aload 1 /* o */
invokeinterface org.glassfish.jersey.internal.inject.InjectionManager.preDestroy:(Ljava/lang/Object;)V
end local 1 // java.lang.Object o
3: .line 69
StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: .line 73
goto 8
StackMap locals: org.glassfish.jersey.model.internal.ManagedObjectsFinalizer
StackMap stack: java.lang.Throwable
5: astore 3
6: .line 74
aload 0 /* this */
getfield org.glassfish.jersey.model.internal.ManagedObjectsFinalizer.managedObjects:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
7: .line 75
aload 3
athrow
8: .line 74
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.glassfish.jersey.model.internal.ManagedObjectsFinalizer.managedObjects:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
9: .line 76
return
end local 0 // org.glassfish.jersey.model.internal.ManagedObjectsFinalizer this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/jersey/model/internal/ManagedObjectsFinalizer;
2 3 1 o Ljava/lang/Object;
Exception table:
from to target type
0 5 5 any
RuntimeVisibleAnnotations:
javax.annotation.PreDestroy()
}
SourceFile: "ManagedObjectsFinalizer.java"
RuntimeVisibleAnnotations:
javax.inject.Singleton()