org.dom4j.util.PerThreadSingleton.class Maven / Gradle / Ivy
The newest version!
???? / Q
/ 0 1
/ 2
3 4
3
5 6
5 7
8 9
: ; <
: =
>
? @ A B singletonClassName Ljava/lang/String; perThreadCache Ljava/lang/ThreadLocal; ()V Code LineNumberTable LocalVariableTable this #Lorg/dom4j/util/PerThreadSingleton; reset instance ()Ljava/lang/Object; ignore2 Ljava/lang/Exception; ignore clazz Ljava/lang/Class; singletonInstancePerThread Ljava/lang/Object; ref Ljava/lang/ref/WeakReference; setSingletonClassName (Ljava/lang/String;)V
SourceFile PerThreadSingleton.java java/lang/ThreadLocal C ! java/lang/ref/WeakReference D E F G H I J K L M ! java/lang/Exception N K O P O !org/dom4j/util/PerThreadSingleton java/lang/Object org/dom4j/util/SingletonStrategy get java/lang/Thread
currentThread ()Ljava/lang/Thread; getContextClassLoader ()Ljava/lang/ClassLoader; java/lang/ClassLoader loadClass %(Ljava/lang/String;)Ljava/lang/Class; java/lang/Class newInstance forName (Ljava/lang/Object;)V set ! K *? *? *? Y? ? ? : *? Y? ? ?
! " ! ]L*? ? ? M,?
,? ? AN? ?
*? ? N-? L? :*? ? N-? L? :*? ? Y+? ? ? ,? L+? - 0
2 ? B
> % '
* + - ( / - 6 0 0 2 2 : 3 ? 5 B 4 D 7 V 9 [ ; > D " # 2 $ # 9 % &